RE: [EXT] Re: [PATCH V2] ASoC: cs42xx8: Add reset gpio handling

2019-05-16 Thread S.j. Wang
Hi > > On Thu, May 16, 2019 at 11:09:27AM +, S.j. Wang wrote: > > > > You also need a binding document update for this. > > ok, will send v3 > > Separate patch please, I already applied this and binding docs should be > separate patches anyway. Ok, I already send v3. please forget the

Re: [PATCH V2] ASoC: cs42xx8: Add reset gpio handling

2019-05-16 Thread Mark Brown
On Thu, May 16, 2019 at 11:09:27AM +, S.j. Wang wrote: > > You also need a binding document update for this. > ok, will send v3 Separate patch please, I already applied this and binding docs should be separate patches anyway. signature.asc Description: PGP signature

Re: [PATCH V2] ASoC: cs42xx8: Add reset gpio handling

2019-05-16 Thread S.j. Wang
Hi > > On Thu, May 16, 2019 at 06:04:58AM +, S.j. Wang wrote: > > > + cs42xx8->gpiod_reset = devm_gpiod_get_optional(dev, "reset", > > + GPIOD_OUT_HIGH); > > + if (IS_ERR(cs42xx8->gpiod_reset)) > > + return

Re: [PATCH V2] ASoC: cs42xx8: Add reset gpio handling

2019-05-16 Thread Mark Brown
On Thu, May 16, 2019 at 06:04:58AM +, S.j. Wang wrote: > + cs42xx8->gpiod_reset = devm_gpiod_get_optional(dev, "reset", > + GPIOD_OUT_HIGH); > + if (IS_ERR(cs42xx8->gpiod_reset)) > + return PTR_ERR(cs42xx8->gpiod_reset);

[PATCH V2] ASoC: cs42xx8: Add reset gpio handling

2019-05-16 Thread S.j. Wang
Handle the reset GPIO and reset the device every time we start it. Signed-off-by: Shengjiu Wang --- Changes in v2 - use devm_gpiod_get_optional instead of of_get_named_gpio sound/soc/codecs/cs42xx8.c | 13 + 1 file changed, 13 insertions(+) diff --git a/sound/soc/codecs/cs42xx8.c