Re: [PATCH 3/3] ASoC: samsung: Fix invalid argument when devm_gpiod_get is called

2017-09-03 Thread Krzysztof Kozlowski
On Mon, Aug 28, 2017 at 07:01:02PM +0900, Jaechul Lee wrote: > 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_IN so it works like input gpio. In overall, makes sense however one thing troubles

[PATCH 3/3] ASoC: samsung: Fix invalid argument when devm_gpiod_get is called

2017-08-28 Thread Jaechul Lee
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_IN so it works like input gpio. Muted stream comes up when I try recording some sounds on TM2. mic-bias gpiod state can't be changed because the gpio