[PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-07-23 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 23 ++- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/sound/soc

Re: [PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Dan Murphy
Mark On 6/12/20 11:30 AM, Mark Brown wrote: On Fri, Jun 12, 2020 at 11:27:04AM -0500, Dan Murphy wrote: Well should we then just revert back to the non-standard name and just fix up the code? Or should we support both properties? Either option is fine for me, supporting both is a little nicer

Re: [PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Mark Brown
On Fri, Jun 12, 2020 at 11:27:04AM -0500, Dan Murphy wrote: > Well should we then just revert back to the non-standard name and just fix > up the code? > Or should we support both properties? Either option is fine for me, supporting both is a little nicer. signature.asc Description: PGP signat

Re: [PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Dan Murphy
Mark On 6/12/20 11:22 AM, Mark Brown wrote: On Fri, Jun 12, 2020 at 11:18:57AM -0500, Dan Murphy wrote: On 6/12/20 11:09 AM, Mark Brown wrote: On Fri, Jun 12, 2020 at 11:06:03AM -0500, Dan Murphy wrote: - tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down-gpio", + tas2562

Re: [PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Mark Brown
On Fri, Jun 12, 2020 at 11:18:57AM -0500, Dan Murphy wrote: > On 6/12/20 11:09 AM, Mark Brown wrote: > > On Fri, Jun 12, 2020 at 11:06:03AM -0500, Dan Murphy wrote: > > > - tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down-gpio", > > > + tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "

Re: [PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Dan Murphy
Mark On 6/12/20 11:09 AM, Mark Brown wrote: On Fri, Jun 12, 2020 at 11:06:03AM -0500, Dan Murphy wrote: - tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down-gpio", + tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown",

Re: [PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Mark Brown
On Fri, Jun 12, 2020 at 11:06:03AM -0500, Dan Murphy wrote: > - tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down-gpio", > + tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shutdown", > GPIOD_OUT_HIGH); This also changes the

[PATCH v3 2/2] ASoC: tas2562: Update shutdown GPIO property

2020-06-12 Thread Dan Murphy
Update the shutdown GPIO property to be shutdown from shut-down. Fixes: c173dba44c2d2 ("ASoC: tas2562: Introduce the TAS2562 amplifier") Signed-off-by: Dan Murphy --- sound/soc/codecs/tas2562.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sound/soc/codecs/tas2562.c b/sound