summaryrefslogtreecommitdiffstats
path: root/sound/soc/intel/skylake/skl.c
diff options
context:
space:
mode:
authorVinod Koul2017-07-03 10:24:47 +0200
committerMark Brown2017-07-03 17:50:49 +0200
commit7d3d6e0645dd3689e625161b9e312108e66b2b51 (patch)
treec296b0f6fb5439bd684e410b1b95602f6b97fd96 /sound/soc/intel/skylake/skl.c
parentASoC: Intel: Skylake: explicitly add the headers sst-dsp.h (diff)
downloadkernel-qcow2-linux-7d3d6e0645dd3689e625161b9e312108e66b2b51.tar.gz
kernel-qcow2-linux-7d3d6e0645dd3689e625161b9e312108e66b2b51.tar.xz
kernel-qcow2-linux-7d3d6e0645dd3689e625161b9e312108e66b2b51.zip
ASoC: Intel: Skylake: Remove driver debugfs exit
For driver debugfs, debugfs_remove_recursive() is called which is not needed as it is already done in ASoC core debugfs. And a device managed memory need not be freed explicitly as device core frees it up. So remove unnecessary skl_debugfs_exit(). Fixes: 5cdf6c09ca9d ASoC: ("Intel: Skylake: Add debugfs support") Reported-by: Julia Lawall <julia.lawall@lip6.fr> Reported-by: kbuild test robot <fengguang.wu@intel.com> Signed-off-by: Vinod Koul <vinod.koul@intel.com> Signed-off-by: Guneshwor Singh <guneshwor.o.singh@intel.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/intel/skylake/skl.c')
-rw-r--r--sound/soc/intel/skylake/skl.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sound/soc/intel/skylake/skl.c b/sound/soc/intel/skylake/skl.c
index 410ce83f4a49..334917ee41cf 100644
--- a/sound/soc/intel/skylake/skl.c
+++ b/sound/soc/intel/skylake/skl.c
@@ -866,7 +866,6 @@ static void skl_remove(struct pci_dev *pci)
/* codec removal, invoke bus_device_remove */
snd_hdac_ext_bus_device_remove(ebus);
- skl_debugfs_exit(skl->debugfs);
skl->debugfs = NULL;
skl_platform_unregister(&pci->dev);
skl_free_dsp(skl);