OSDN Git Service

ASoC: rt286: Make RT286_SET_GPIO_* readable and writable
authorDavid Ward <david.ward@gatech.edu>
Sun, 18 Apr 2021 13:46:57 +0000 (09:46 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 May 2021 08:59:42 +0000 (10:59 +0200)
commit312a7bac61a043ed88ac76d688269444d84505a8
tree098b82e7458054b78595a6f3f3afadec9b9191a0
parent0f6a886753b4e1ff4bf1d38160c0915e35112771
ASoC: rt286: Make RT286_SET_GPIO_* readable and writable

[ Upstream commit cd8499d5c03ba260e3191e90236d0e5f6b147563 ]

The GPIO configuration cannot be applied if the registers are inaccessible.
This prevented the headset mic from working on the Dell XPS 13 9343.

BugLink: https://bugzilla.kernel.org/show_bug.cgi?id=114171
Signed-off-by: David Ward <david.ward@gatech.edu>
Link: https://lore.kernel.org/r/20210418134658.4333-5-david.ward@gatech.edu
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/rt286.c