OSDN Git Service

ASoC: rt286: Fix upper byte in DMIC2 configuration
authorDavid Ward <david.ward@gatech.edu>
Sun, 18 Apr 2021 13:46:54 +0000 (09:46 -0400)
committerMark Brown <broonie@kernel.org>
Mon, 19 Apr 2021 15:51:00 +0000 (16:51 +0100)
commitdfa7b01dbdc9723ced606425b47005bb583a8778
tree82daf2cddbc40da714b54a167490c4246f8db9f9
parenta38fd8748464831584a19438cbb3082b5a2dab15
ASoC: rt286: Fix upper byte in DMIC2 configuration

This HDA verb sets the upper byte of the Configuration Default register, so
only an 8-bit value should be used. For the rt298, the same fix was applied
in commit f8f2dc4a7127 ("ASoC: rt298: fix wrong setting of gpio2_en").

Signed-off-by: David Ward <david.ward@gatech.edu>
Link: https://lore.kernel.org/r/20210418134658.4333-2-david.ward@gatech.edu
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt286.c