]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5645: add fallback case for jack detection support
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Thu, 11 Jan 2018 20:05:11 +0000 (14:05 -0600)
committerMark Brown <broonie@kernel.org>
Fri, 12 Jan 2018 12:27:54 +0000 (12:27 +0000)
commit42107200dfe1972e243f2b9fcd29c9393b7cc387
treecb799c54bf7cea4a0ee3abe17ad0825062e8ac77
parent61505f8e33bc04e94ab605e1e3c8d3a56accf7bd
ASoC: rt5645: add fallback case for jack detection support

Commit 2643f471c01f ("ASoC: rt5645: cleanup DMI matching code") did a
lot of useful cleanups. This patch adds a default case to enable
jack detection if there is no pdata, device property or quirk.

The chosen jd-mode3 is the most common and should limit the addition
of new DMI-based quirks. Existing DMI quirks which only set this mode
are left as is and not removed.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c