Commit bc07b544 authored by Dan Murphy's avatar Dan Murphy Committed by Mark Brown

ASoC: tas2562: Update shutdown GPIO property

Update the shutdown GPIO property to be shutdown from shut-down.

Fixes: c173dba4 ("ASoC: tas2562: Introduce the TAS2562 amplifier")
Signed-off-by: default avatarDan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200624174932.9604-3-dmurphy@ti.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 3b3372fa
...@@ -619,8 +619,8 @@ static int tas2562_parse_dt(struct tas2562_data *tas2562) ...@@ -619,8 +619,8 @@ static int tas2562_parse_dt(struct tas2562_data *tas2562)
struct device *dev = tas2562->dev; struct device *dev = tas2562->dev;
int ret = 0; int ret = 0;
tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down-gpio", tas2562->sdz_gpio = devm_gpiod_get_optional(dev, "shut-down",
GPIOD_OUT_HIGH); GPIOD_OUT_HIGH);
if (IS_ERR(tas2562->sdz_gpio)) { if (IS_ERR(tas2562->sdz_gpio)) {
if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) { if (PTR_ERR(tas2562->sdz_gpio) == -EPROBE_DEFER) {
tas2562->sdz_gpio = NULL; tas2562->sdz_gpio = NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment