summaryrefslogtreecommitdiff
path: root/sound/soc/fsl
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2017-08-22 14:59:44 +0300
committerMark Brown <broonie@kernel.org>2017-08-22 15:38:35 +0300
commitbd29ae969042c87413157c02d4f2a787d0212da3 (patch)
tree2780978ae938a2f83e385e37892fac79b6e0bfd6 /sound/soc/fsl
parent77a4525bc282b7072ebda5d6f6925ca6d604a16f (diff)
downloadlinux-bd29ae969042c87413157c02d4f2a787d0212da3.tar.xz
ASoC: jack: Manage gpios via devres
Let's be lazy -- this patch adds the devres code to snd_soc_jack_add_gpios() for releasing the gpio resources at device removal automagically. After this patch, you don't have to call snd_soc_jack_free_gpios() manually as long as it's managed from the machine driver. What about the gpios assigned in other levels? Well, you might still need to free the resources manually, depending on how the component unbind works. Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/fsl')
0 files changed, 0 insertions, 0 deletions