[PATCH 1/3] ASoC: jack: Add a jack detect callback via codec
Mark Brown
broonie at kernel.org
Mon Apr 18 02:22:18 PDT 2016
On Mon, Apr 18, 2016 at 04:17:30PM +0800, Xing Zheng wrote:
> This patch add a callback when a codec have the jack detect feature.
> +void snd_soc_jack_codec_detect(struct snd_soc_codec *codec,
> + struct snd_soc_jack *jack)
> +{
> + if (codec && codec->driver && codec->driver->detect_jack)
> + codec->driver->detect_jack(codec, jack);
> +}
> +EXPORT_SYMBOL_GPL(snd_soc_jack_codec_detect);
I've no idea what this is supposed to do sorry, you need a much better
changelog and probably also a restructuring of the code. This says it
is adding a callback but it doesn't do that, it adds an export of a
function that calls an operation in a driver with no explanation.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-rockchip/attachments/20160418/91b8da52/attachment.sig>
More information about the Linux-rockchip
mailing list