summaryrefslogtreecommitdiff
path: root/sound/soc/codecs/pcm6240.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/soc/codecs/pcm6240.c')
-rw-r--r--sound/soc/codecs/pcm6240.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sound/soc/codecs/pcm6240.c b/sound/soc/codecs/pcm6240.c
index b2bd2f172ae7..75af12231d1d 100644
--- a/sound/soc/codecs/pcm6240.c
+++ b/sound/soc/codecs/pcm6240.c
@@ -1642,8 +1642,7 @@ static int pcmdevice_comp_probe(struct snd_soc_component *comp)
}
ret = pcmdev_profile_ctrl_add(pcm_dev);
out:
- if (fw_entry)
- release_firmware(fw_entry);
+ release_firmware(fw_entry);
mutex_unlock(&pcm_dev->codec_lock);
return ret;