diff options
author | Richard Fitzgerald <rf@opensource.cirrus.com> | 2023-10-11 14:48:53 +0100 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-10-11 17:09:56 +0100 |
commit | d6cbc6a3a856a7d8047316d81e2e039e44432acb (patch) | |
tree | 64992af9971be50d22da09e99e52851e1889d61a /net/unix/sysctl_net_unix.c | |
parent | 99d426c6dd2d6f9734617ec12def856ee35b9218 (diff) |
ASoC: cs42l42: Fix missing include of gpio/consumer.h
The call to gpiod_set_value_cansleep() in cs42l42_sdw_update_status()
needs the header file gpio/consumer.h to be included.
This was introduced by commit 2d066c6a7865 ("ASoC: cs42l42: Avoid stale
SoundWire ATTACH after hard reset")
and caused error:
sound/soc/codecs/cs42l42-sdw.c:374:4: error: implicit declaration of
function ‘gpiod_set_value_cansleep’;
did you mean gpio_set_value_cansleep’?
Signed-off-by: Richard Fitzgerald <rf@opensource.cirrus.com>
Fixes: 2d066c6a7865 ("ASoC: cs42l42: Avoid stale SoundWire ATTACH after hard reset")
Link: https://lore.kernel.org/r/20231011134853.20059-1-rf@opensource.cirrus.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'net/unix/sysctl_net_unix.c')
0 files changed, 0 insertions, 0 deletions