mirror of
https://github.com/raspberrypi/linux.git
synced 2026-01-04 18:27:36 +00:00
ASoC: adau1701: use gpiod_multi_set_value_cansleep
Reduce verbosity by using gpiod_multi_set_value_cansleep() instead of gpiod_set_array_value_cansleep(). Acked-by: Mark Brown <broonie@kernel.org> Reviewed-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: David Lechner <dlechner@baylibre.com> Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Link: https://patch.msgid.link/20250210-gpio-set-array-helper-v3-15-d6a673674da8@baylibre.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
committed by
Mark Brown
parent
91931af18b
commit
ad0fbcebb5
@@ -325,9 +325,7 @@ static int adau1701_reset(struct snd_soc_component *component, unsigned int clkd
|
||||
__assign_bit(1, values, 1);
|
||||
break;
|
||||
}
|
||||
gpiod_set_array_value_cansleep(adau1701->gpio_pll_mode->ndescs,
|
||||
adau1701->gpio_pll_mode->desc, adau1701->gpio_pll_mode->info,
|
||||
values);
|
||||
gpiod_multi_set_value_cansleep(adau1701->gpio_pll_mode, values);
|
||||
}
|
||||
|
||||
adau1701->pll_clkdiv = clkdiv;
|
||||
|
||||
Reference in New Issue
Block a user