diff options
| author | Jaechul Lee <[email protected]> | 2017-09-06 01:04:15 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-09-19 14:59:07 +0000 |
| commit | 975b6a93088e83a41ba2f0dec2f086678fdb2a7a (patch) | |
| tree | 5030a50627446ecbb8f961e860e2cce8b931b547 /net/unix/af_unix.c | |
| parent | ASoC: samsung: Use 'samsung-i2s' cpu_dai for dai_links (diff) | |
| download | kernel-975b6a93088e83a41ba2f0dec2f086678fdb2a7a.tar.gz kernel-975b6a93088e83a41ba2f0dec2f086678fdb2a7a.zip | |
ASoC: samsung: Fix invalid argument when devm_gpiod_get is called
devm_gpiod_get is called with GPIOF_OUT_INIT_LOW but the function doesn't
allow the parameters. Unluckily, GPIOF_OUT_INIT_LOW is same value as
GPIOD_ASIS and gpio direction isn't set properly.
Muted stream comes up when I try recording some sounds on TM2. mic-bias
gpiod state can't be changed because the gpiod is created with the invalid
parameter. The gpio should be set GPIOD_OUT_HIGH.
Fixes: 1bfbc260a5b4 ("ASoC: samsung: Add machine driver for Exynos5433 based TM2 board")
Signed-off-by: Jaechul Lee <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
