Skip to content

Commit 0b9b34b

Browse files
committed
soundwire: intel_ace2x: don't print -ENXIO error
hda_sdw_bpt_open() will return -ENXIO when it is called before the Intel audio DSP FW not boot complete yet. We will fallback to normal sdw read/write method. Don't print the error message to scare the user. Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
1 parent 35eb117 commit 0b9b34b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soundwire/intel_ace2x.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -252,7 +252,7 @@ static int intel_ace2x_bpt_open_stream(struct sdw_intel *sdw, struct sdw_slave *
252252
&sdw->bpt_ctx.dmab_tx_bdl, pdi0_buffer_size, tx_dma_bandwidth,
253253
&sdw->bpt_ctx.bpt_rx_stream, &sdw->bpt_ctx.dmab_rx_bdl,
254254
pdi1_buffer_size, rx_dma_bandwidth);
255-
if (ret < 0) {
255+
if (ret < 0 && ret != -ENXIO) {
256256
dev_err(cdns->dev, "%s: hda_sdw_bpt_open failed %d\n", __func__, ret);
257257
goto deprepare_stream;
258258
}

0 commit comments

Comments
 (0)