diff options
| author | Shengjiu Wang <shengjiu.wang@nxp.com> | 2026-01-28 10:59:55 +0800 |
|---|---|---|
| committer | Mark Brown <broonie@kernel.org> | 2026-01-28 11:22:24 +0000 |
| commit | ab3f4f0c7f3aa050cd602cc32830e24ac4aaee97 (patch) | |
| tree | a437bef9f47fdf536b87db65fa6a418520bfaf42 /include/linux | |
| parent | 75ca86026b891c21d656dda38c3e7ae6a848b440 (diff) | |
ASoC: wm8962: add .set_tdm_slot callback function
The slot_width can be different with the params_width(), for example,
DSP_A mode, slot_width = 32, but data format is S16_LE, if the word
length is configured to be 16, there is no sound on the right speaker.
So add .set_tdm_slot() callback function to configure the slot_width and
update the word length according to slot_width in hw_params().
Signed-off-by: Shengjiu Wang <shengjiu.wang@nxp.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://patch.msgid.link/20260128025955.2562331-1-shengjiu.wang@nxp.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions
