Searched refs:gpio_hp (Results 1 – 1 of 1) sorted by relevance
335 struct gpio_desc *gpio_hp; member1606 if (scodec->gpio_hp) { in sun4i_codec_machine_init()1618 sun4i_headphone_jack_gpio.desc = scodec->gpio_hp; in sun4i_codec_machine_init()2349 scodec->gpio_hp = devm_gpiod_get_optional(&pdev->dev, "hp-det", GPIOD_IN); in sun4i_codec_probe()2350 if (IS_ERR(scodec->gpio_hp)) in sun4i_codec_probe()2351 return dev_err_probe(&pdev->dev, PTR_ERR(scodec->gpio_hp), in sun4i_codec_probe()