Re: [PATCH 3/3] ASoC: tas2783-sdw: refuse playback when the init writes failed
From: Mark Brown
Date: Mon Oct 26 2026 - 15:31:53 EST
> @@ -1427,6 +1432,12 @@ static int tas_port_prep(struct sdw_slave *slave, struct sdw_prepare_ch *prep_ch
> addr = SDW_DPN_PREPARECTRL(prep_ch->num);
> switch (pre_ops) {
> case SDW_OPS_PORT_PRE_PREP:
> + if (!tas_dev->hw_init) {
> + dev_err(dev, "error port %d prepare without init writes\n",
> + prep_ch->num);
> + return -EINVAL;
> + }
Dos the SoundWire core pay attention to this return value?
--
Mark Brown <broonie@xxxxxxxxxx>