Peter Ujfalusi f05a9b8552
ASoC: rt1011: Fix 'I2S Reference' enum control
There are several things the patch adding the support for 'I2S Reference'
got wrong:
- "None" selection is in fact equals to last selected reference
- The custom put overrides RX/TX len, TDM slot sizes, etc
- the enum is useless in most part for the reference tracking
- there is no need for EXT control as there is a single bit in
  RT1011_TDM1_SET_1 register (bit 7) which selects the reference
- it was using ucontrol->value.integer.value[0] in the put/get callbacks
  which causesed access to 'I2S Reference' enum with alsamixer to fail

Complements: c3de683c4d1d ("ASoC: rt1011: Fix 'I2S Reference' enum control caused error")
Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
Link: https://lore.kernel.org/r/20211013123300.11095-1-peter.ujfalusi@linux.intel.com
Signed-off-by: Mark Brown <broonie@kernel.org>
2021-10-13 16:26:15 +01:00
..
2021-04-20 17:25:51 +01:00
2015-07-07 13:35:13 +01:00
2021-03-10 13:10:37 +00:00
2021-03-31 18:00:38 +01:00
2021-03-31 18:00:38 +01:00
2021-02-04 18:45:19 +00:00
2021-06-09 11:52:35 +01:00
2021-06-09 11:52:35 +01:00
2018-04-26 12:44:15 +01:00
2021-10-02 01:31:58 +01:00
2021-10-02 01:31:58 +01:00
2019-06-12 13:52:26 +01:00
2020-05-07 13:18:04 +01:00
2019-07-26 13:10:09 +01:00
2020-12-09 17:00:33 +00:00
2018-05-18 11:20:11 +01:00
2018-06-01 12:05:30 +01:00
2020-07-20 15:34:29 +01:00
2020-10-26 15:27:13 +01:00
2020-10-02 21:05:29 +01:00
2021-03-11 13:24:15 +00:00
2021-03-11 13:24:17 +00:00