summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
authorChao Song <chao.song@linux.intel.com>2021-01-26 16:54:39 +0800
committerVinod Koul <vkoul@kernel.org>2021-02-01 16:10:40 +0530
commit18de2f72b74aa38dd4e561f6a80571190064dd61 (patch)
tree7a5f1bb9a85c4ac23a637ee3e23d42c353c5306d /README
parentf1b690261247c9895f7a4b05d14a4026739134eb (diff)
downloadlinux-18de2f72b74aa38dd4e561f6a80571190064dd61.tar.bz2
soundwire: return earlier if no slave is attached
If there is no slave attached to soundwire bus, we can return earlier from sdw_bus_prep_clk_stop() and sdw_bus_exit_clk_stop(), this saves a redundant value check. Signed-off-by: Chao Song <chao.song@linux.intel.com> Reviewed-by: Rander Wang <rander.wang@intel.com> Reviewed-by: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com> Link: https://lore.kernel.org/r/20210126085439.4349-1-yung-chuan.liao@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions