diff --git a/sound/soc/sdca/sdca_class.c b/sound/soc/sdca/sdca_class.c index 79fdb672be1d..bcc660aeb739 100644 --- a/sound/soc/sdca/sdca_class.c +++ b/sound/soc/sdca/sdca_class.c @@ -27,8 +27,11 @@ static int class_read_prop(struct sdw_slave *sdw) { struct sdw_slave_prop *prop = &sdw->prop; + int ret; - sdw_slave_read_prop(sdw); + ret = sdw_slave_read_prop(sdw); + if (ret) + return ret; prop->use_domain_irq = true; prop->scp_int1_mask = SDW_SCP_INT1_BUS_CLASH | SDW_SCP_INT1_PARITY |