]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: rt5640: Change jack_work to a delayed_work
authorHans de Goede <hdegoede@redhat.com>
Thu, 6 Jan 2022 11:01:24 +0000 (12:01 +0100)
committerMark Brown <broonie@kernel.org>
Thu, 6 Jan 2022 13:55:48 +0000 (13:55 +0000)
commitc40156cf39f46c1466f81ff0a4302e0d130477b2
tree9c2836c4e77fcac7b2336c0273dd61f3c9a696a0
parentc29196d11c9c19bf1f8c21f19a5544f77879c04b
ASoC: rt5640: Change jack_work to a delayed_work

Change jack_work from a struct work_struct to a struct delayed_work, this
is a preparation patch for adding support for boards where an external
GPIO is used for jack-detect, rather then one of the JD pins of the codec.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Link: https://lore.kernel.org/r/20220106110128.66049-3-hdegoede@redhat.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5640.c
sound/soc/codecs/rt5640.h