MSP_DIR_RX
MSP_DIR_TX : MSP_DIR_RX;
is_playback ? MSP_DIR_TX : MSP_DIR_RX)) {
if (config->direction & MSP_DIR_RX)
if (config->direction & MSP_DIR_RX)
rx_sel = (config->direction & MSP_DIR_RX) > 0;
rx_busy = (msp->dir_busy & MSP_DIR_RX) > 0;
msp->dir_busy |= (tx_sel ? MSP_DIR_TX : 0) | (rx_sel ? MSP_DIR_RX : 0);
msp->dir_busy &= ~MSP_DIR_RX;