Searched refs:gpiod (Results 1 – 1 of 1) sorted by relevance
384 struct gpio_desc *gpiod; in tegra_asoc_machine_probe() local400 gpiod = devm_gpiod_get_optional(dev, "nvidia,hp-mute", GPIOD_OUT_HIGH); in tegra_asoc_machine_probe()401 machine->gpiod_hp_mute = gpiod; in tegra_asoc_machine_probe()402 if (IS_ERR(gpiod)) in tegra_asoc_machine_probe()403 return PTR_ERR(gpiod); in tegra_asoc_machine_probe()405 gpiod = devm_gpiod_get_optional(dev, "nvidia,hp-det", GPIOD_IN); in tegra_asoc_machine_probe()406 machine->gpiod_hp_det = gpiod; in tegra_asoc_machine_probe()407 if (IS_ERR(gpiod)) in tegra_asoc_machine_probe()408 return PTR_ERR(gpiod); in tegra_asoc_machine_probe()410 gpiod = devm_gpiod_get_optional(dev, "nvidia,mic-det", GPIOD_IN); in tegra_asoc_machine_probe()[all …]