diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-09-13 16:00:11 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-09-13 16:03:20 +0100 |
commit | a479b44ac0a0ac25cd48e5356200078924d78022 (patch) | |
tree | e43297fbe928d59b7604f41261b8e6481008a8dd /lib/crypto/mpi/mpiutil.c | |
parent | 41dac81b56c82c51a6d00fda5f3af7691ffee2d7 (diff) |
ASoC: cs42l42: Don't rely on GPIOD_OUT_LOW to set RESET initially low
The ACPI setting for a GPIO default state has higher priority than the
flag passed to devm_gpiod_get_optional() so ACPI can override the
GPIOD_OUT_LOW. Explicitly set the GPIO low when hard resetting.
Although GPIOD_OUT_LOW can't be relied on this doesn't seem like a
reason to stop passing it to devm_gpiod_get_optional(). So we still pass
it to state our intent, but can deal with it having no effect.
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Signed-off-by: Stefan Binding <sbinding@opensource.cirrus.com>
Link: https://lore.kernel.org/r/20230913150012.604775-3-sbinding@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'lib/crypto/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions