> 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 is > not able to accurately detect the jack type. > > Signed-off-by: Shuming Fan <shumingf@xxxxxxxxxxx> > --- > sound/soc/codecs/rt711-sdca.c | 79 > +++++++++++++++++++++++++++++++++++ > sound/soc/codecs/rt711-sdca.h | 1 + > 2 files changed, 80 insertions(+) Don't review this patch. Will send v2 patch. Thanks.