forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 407
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CHROMIUM: ALSA: ASoC: Get snow hp/mic detect GPIOs from device tree.
Get the GPIOs used for hp and mic detect from the device tree. Getting them from device tree allows for the pull up/pull down to be properly configured (it is disabled) and for mic detect to be inverted. BUG=chrome-os-partner:10849 TEST=aplay/arecord on snow work. evtest shows events for hp and mic detection. Signed-off-by: Dylan Reid <[email protected]> Change-Id: I93d994a2ec5c22683c6eb5fd502f6a54c8e8d964 Reviewed-on: https://gerrit.chromium.org/gerrit/29626 Reviewed-by: Olof Johansson <[email protected]> Tested-by: Dylan Reid <[email protected]> Commit-Ready: Dylan Reid <[email protected]>
- Loading branch information
Showing
1 changed file
with
33 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters