Home
last modified time | relevance | path

Searched refs:pwdnn_gpio (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/sound/soc/codecs/
H A Drt9120.c79 struct gpio_desc *pwdnn_gpio; member
529 data->pwdnn_gpio = devm_gpiod_get_optional(&i2c->dev, "pwdnn", in rt9120_probe()
531 if (IS_ERR(data->pwdnn_gpio)) { in rt9120_probe()
533 return PTR_ERR(data->pwdnn_gpio); in rt9120_probe()
534 } else if (data->pwdnn_gpio) { in rt9120_probe()
597 if (data->pwdnn_gpio) { in rt9120_runtime_suspend()
600 gpiod_set_value(data->pwdnn_gpio, 0); in rt9120_runtime_suspend()
610 if (data->pwdnn_gpio) { in rt9120_runtime_resume()
611 gpiod_set_value(data->pwdnn_gpio, 1); in rt9120_runtime_resume()