ASoC: soc-component: add get_jack_type
authorAstrid Rost <astrid.rost@axis.com>
Mon, 23 Jan 2023 13:59:11 +0000 (14:59 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 27 Jan 2023 12:20:55 +0000 (12:20 +0000)
commitdf55122ba0955951a85ef3ffb19f0dcb0ad3ffbb
treec63131726483f437843bd9ad80ea823486f71f2b
parentaa326917f58fa577bfba8976da214080bdec2699
ASoC: soc-component: add get_jack_type

Add function to return the jack type of snd_jack_types.
This allows a generic card driver to add a jack with the specified
type.

Signed-off-by: Astrid Rost <astrid.rost@axis.com>
Link: https://lore.kernel.org/r/20230123135913.2720991-2-astrid.rost@axis.com
Signed-off-by: Mark Brown <broonie@kernel.org>
include/sound/soc-component.h
sound/soc/soc-component.c