From: Bartosz Golaszewski <[email protected]>

This driver is only used on Qualcomm platforms which now select
HAVE_SHARED_GPIOS so this flag can be dropped.

Signed-off-by: Bartosz Golaszewski <[email protected]>
---
 sound/soc/codecs/wsa883x.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/sound/soc/codecs/wsa883x.c b/sound/soc/codecs/wsa883x.c
index 
ca4520ade79aa2c9377449e29cdd33e9e8dd28c5..ba60b4de6cab7740cd8aa70c89f6e03e1dc2dd12
 100644
--- a/sound/soc/codecs/wsa883x.c
+++ b/sound/soc/codecs/wsa883x.c
@@ -1572,13 +1572,10 @@ static int wsa883x_get_reset(struct device *dev, struct 
wsa883x_priv *wsa883x)
        if (IS_ERR(wsa883x->sd_reset))
                return dev_err_probe(dev, PTR_ERR(wsa883x->sd_reset),
                                     "Failed to get reset\n");
-       /*
-        * if sd_reset: NULL, so use the backwards compatible way for 
powerdown-gpios,
-        * which does not handle sharing GPIO properly.
-        */
+
+        /* if sd_reset: NULL, so use the backwards compatible way for 
powerdown-gpios */
        if (!wsa883x->sd_reset) {
                wsa883x->sd_n = devm_gpiod_get_optional(dev, "powerdown",
-                                                       
GPIOD_FLAGS_BIT_NONEXCLUSIVE |
                                                        GPIOD_OUT_HIGH);
                if (IS_ERR(wsa883x->sd_n))
                        return dev_err_probe(dev, PTR_ERR(wsa883x->sd_n),

-- 
2.48.1


Reply via email to