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