summaryrefslogtreecommitdiffstats
path: root/include/linux
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-04-20 02:51:15 +0800
committerVinod Koul <vkoul@kernel.org>2020-05-05 08:51:44 +0530
commit8893ab5e8ee5d7c12e0fc1dca4a309475064473d (patch)
tree1029074dd25ee6308c8bb3855c83234c7cf6c6d8 /include/linux
parent01de995075b20f58a77f408cdf49034682487429 (diff)
downloadcachepc-linux-8893ab5e8ee5d7c12e0fc1dca4a309475064473d.tar.gz
cachepc-linux-8893ab5e8ee5d7c12e0fc1dca4a309475064473d.zip
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>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions