linux_dsm_epyc7002/sound/soc/sof
Greg Kroah-Hartman 3ff3a4f657
ASoC: SOF: no need to check return value of debugfs_create functions
When calling debugfs functions, there is no need to ever check the
return value.  The function can work or not, but the code logic should
never do something different based on this.

Also, if a debugfs call fails, userspace is notified with an error in
the log, so no need to log the error again.

Because we no longer need to check the return value, there's no need to
save the dentry returned by debugfs.  Just use the dentry in the file
pointer if we really need to figure out the "name" of the file being
opened.

Cc: Liam Girdwood <lgirdwood@gmail.com>
Cc: Mark Brown <broonie@kernel.org>
Cc: Jaroslav Kysela <perex@perex.cz>
Cc: Takashi Iwai <tiwai@suse.com>
Cc: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Cc: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Cc: alsa-devel@alsa-project.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Link: https://lore.kernel.org/r/20190731131716.9764-3-gregkh@linuxfoundation.org
Signed-off-by: Mark Brown <broonie@kernel.org>
2019-08-01 13:56:07 +01:00
..
intel Merge branch 'asoc-5.3' into asoc-5.4 2019-07-26 13:10:09 +01:00
xtensa sound fixes for 5.2-rc5 2019-06-14 05:37:06 -10:00
control.c ASoC: SOF: dont wake dsp up in kcontrol IO 2019-06-13 19:56:07 +01:00
core.c ASoC: SOF: core: increase default IPC timeouts 2019-07-23 12:19:11 +01:00
debug.c ASoC: SOF: no need to check return value of debugfs_create functions 2019-08-01 13:56:07 +01:00
ipc.c ASoC: SOF: ipc: use timeout configured at probe 2019-07-23 12:18:54 +01:00
Kconfig Linux 5.2-rc6 2019-06-26 12:39:34 +01:00
loader.c ASoC: SOF: loader: Don't ignore SRAM block types 2019-07-23 12:20:04 +01:00
Makefile ASoC: SOF: Makefile - fix the top-level kernel module names (add snd- prefix) 2019-07-25 17:42:18 +01:00
nocodec.c ASoC: sof: use modern dai_link style 2019-06-06 22:10:38 +01:00
ops.c ASoC: SOF: Fix a compile warning with CONFIG_PCI=n 2019-05-07 11:23:57 +09:00
ops.h ASoC: SOF: remove unused state variable in suspend function 2019-07-23 12:20:21 +01:00
pcm.c ASoC: SOF: use common code to send PCM_FREE IPC 2019-07-23 12:18:36 +01:00
pm.c ASoC: SOF: remove unused state variable in suspend function 2019-07-23 12:20:21 +01:00
sof-acpi-dev.c ASoC: SOF: add runtime idle callback 2019-07-06 12:23:24 +01:00
sof-pci-dev.c ASoC: SOF: pci: mark last_busy value at runtime PM init 2019-07-23 12:18:00 +01:00
sof-priv.h ASoC: SOF: no need to check return value of debugfs_create functions 2019-08-01 13:56:07 +01:00
topology.c ASoC: SOF: Intel: ssp: BCLK delay parameter 2019-07-23 12:22:19 +01:00
trace.c ASoC: SOF: no need to check return value of debugfs_create functions 2019-08-01 13:56:07 +01:00
utils.c ASoC: SOF: Add utils 2019-04-28 02:49:47 +09:00