summaryrefslogtreecommitdiffstats
path: root/sound/soc/uniphier
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2022-06-12 17:56:52 +0200
committerMark Brown <broonie@kernel.org>2022-06-13 18:37:56 +0100
commitda440af07fc3dd2b5a5138671eba51991dd1fac8 (patch)
treec36b432e9a2f79f965118125109a01cab78d8d97 /sound/soc/uniphier
parent3729928137c74fe9079f51d8f0348ab588a247ae (diff)
downloadlinux-da440af07fc3dd2b5a5138671eba51991dd1fac8.tar.bz2
ASoC: Intel: bytcr_wm5102: Fix GPIO related probe-ordering problem
The "wlf,spkvdd-ena" GPIO needed by the bytcr_wm5102 driver is made available through a gpio-lookup table. This gpio-lookup table is registered by drivers/mfd/arizona-spi.c, which may get probed after the bytcr_wm5102 driver. If the gpio-lookup table has not registered yet then the gpiod_get() will return -ENOENT. Treat -ENOENT as -EPROBE_DEFER to still keep things working in this case. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Acked-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20220612155652.107310-1-hdegoede@redhat.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/uniphier')
0 files changed, 0 insertions, 0 deletions