Skip to content

Commit 104b7c9

Browse files
committed
fixup! ASoC: Intel: kbl-rt5660: use .exit() dailink callback to release gpiod
fix typo, this should have been flagged with an SST build in CI... Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
1 parent 8b7c1b8 commit 104b7c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sound/soc/intel/boards/kbl_rt5660.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -216,7 +216,7 @@ static void kabylake_rt5660_codec_exit(struct snd_soc_pcm_runtime *rtd)
216216
* so explicitly test if the gpiod is valid
217217
*/
218218
if (!IS_ERR_OR_NULL(ctx->gpio_lo_mute))
219-
gpiod_put(ctx->gpio_lo_mute));
219+
gpiod_put(ctx->gpio_lo_mute);
220220
}
221221

222222
static int kabylake_hdmi_init(struct snd_soc_pcm_runtime *rtd, int device)

0 commit comments

Comments
 (0)