linux/drivers/soundwire
Pierre-Louis Bossart 8893ab5e8e soundwire: slave: don't init debugfs on device registration error
The error handling flow seems incorrect, there is no reason to try and
add debugfs support if the device registration did not
succeed. Return on error.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Link: https://lore.kernel.org/r/20200419185117.4233-2-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2020-05-05 08:51:44 +05:30
..
bus.c soundwire: bus: provide correct return value on error 2020-03-03 10:28:46 +05:30
bus.h soundwire: bus: add helper to clear Slave status to UNATTACHED 2020-02-25 15:57:02 +05:30
bus_type.c soundwire: bus: fix race condition with probe_complete signaling 2020-02-25 15:57:01 +05:30
cadence_master.c soundwire: cadence: clear FIFO to avoid pop noise issue on playback start 2020-03-19 12:43:05 +05:30
cadence_master.h soundwire: cadence: make SSP interval programmable 2020-03-19 12:43:04 +05:30
debugfs.c soundwire: add debugfs support 2019-08-23 12:01:02 +05:30
intel.c soundwire: intel: use asoc_rtd_to_cpu() / asoc_rtd_to_codec() macro for DAI pointer 2020-04-20 12:38:04 +05:30
intel.h soundwire: intel: update stream callbacks for hwparams/free stream operations 2019-12-12 09:17:06 +05:30
intel_init.c soundwire: intel: update stream callbacks for hwparams/free stream operations 2019-12-12 09:17:06 +05:30
Kconfig soundwire: qcom: add support for SoundWire controller 2020-01-14 11:57:47 +05:30
Makefile soundwire: qcom: add support for SoundWire controller 2020-01-14 11:57:47 +05:30
mipi_disco.c soundwire: mipi_disco: Switch to use fwnode_property_count_uXX() 2019-08-02 17:15:13 +05:30
qcom.c soundwire: qcom: fix error handling in probe 2020-05-05 08:51:44 +05:30
slave.c soundwire: slave: don't init debugfs on device registration error 2020-05-05 08:51:44 +05:30
stream.c Merge branch 'topic/ro_wordlength' into next 2020-03-20 19:25:14 +05:30