ASoC: ssm2518: bug in ssm2518_set_tdm_slot The code in ssm2518_set_tdm_slot looks wrong: if (tx_mask == 0 || tx_mask != 0) return -EINVAL; So ssm2518_set_tdm_slot() always returns error.