OSDN Git Service

ASoC: rt5645: Add quirk override by module option
authorTakashi Iwai <tiwai@suse.de>
Thu, 29 Jun 2017 16:08:33 +0000 (18:08 +0200)
committerMark Brown <broonie@kernel.org>
Fri, 30 Jun 2017 11:47:55 +0000 (12:47 +0100)
commit4999b0214b05a08b42bbafcb29a0b9c413002d3f
treee144472fbd526c679d5cc48d69186101bb0112a8
parent105e56f1ec335ab62b920882e755da49e81e5b60
ASoC: rt5645: Add quirk override by module option

For making the development easier, add quirk module option to override
the platform data setup.  For example, a platform with inverted jack
detection with jd_mode=2, pass the value 0x21 (0x1 = inv_jd1_1, 0x20 =
jd_mode=2).  It overrides the whole pdata fields, so pass it
carefully.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: James Cameron <quozl@laptop.org>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c