Skip to content

Commit ad0fbce

Browse files
dlechbroonie
authored andcommitted
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>
1 parent 91931af commit ad0fbce

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

sound/soc/codecs/adau1701.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -325,9 +325,7 @@ static int adau1701_reset(struct snd_soc_component *component, unsigned int clkd
325325
__assign_bit(1, values, 1);
326326
break;
327327
}
328-
gpiod_set_array_value_cansleep(adau1701->gpio_pll_mode->ndescs,
329-
adau1701->gpio_pll_mode->desc, adau1701->gpio_pll_mode->info,
330-
values);
328+
gpiod_multi_set_value_cansleep(adau1701->gpio_pll_mode, values);
331329
}
332330

333331
adau1701->pll_clkdiv = clkdiv;

0 commit comments

Comments
 (0)