]> 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)
commitae9da30d79f78ccc6aea15fb5ddb80148ffc4dd8
treecb799c54bf7cea4a0ee3abe17ad0825062e8ac77
parentb85f51c63a126992bef4e6d1b69af66328aa3c99
ASoC: rt5645: add fallback case for jack detection support

Commit e5915ba061fc ("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