]> www.infradead.org Git - users/jedix/linux-maple.git/commit
ASoC: rt711-sdca: add GE selected mode control
authorShuming Fan <shumingf@realtek.com>
Tue, 25 Jun 2024 08:43:03 +0000 (16:43 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 25 Jun 2024 18:12:44 +0000 (19:12 +0100)
commit50b8affb5665efa028998ad2c116b1106623409e
tree0ff81faafed7a09dcf465b107f9f295f144d0a08
parent903e85093670c3e1107980b5e5a718682458f316
ASoC: rt711-sdca: add GE selected mode control

The SDCA spec defines a 'selected_mode' control which can override
the 'detected_mode' reported by hardware.
This is useful for platform integration as well as in cases
where the hardware(e.g. 3.5mm jack cable) is not able to accurately detect the jack type.

Signed-off-by: Shuming Fan <shumingf@realtek.com>
Tested-by: yung-chuan.liao@linux.intel.com
Link: https://patch.msgid.link/20240625084303.2273911-1-shumingf@realtek.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt711-sdca.c
sound/soc/codecs/rt711-sdca.h