diff options
| author | 2021-01-26 16:54:39 +0800 | |
|---|---|---|
| committer | 2021-02-01 16:10:40 +0530 | |
| commit | 18de2f72b74aa38dd4e561f6a80571190064dd61 (patch) | |
| tree | 7a5f1bb9a85c4ac23a637ee3e23d42c353c5306d /tools/include/trace/git:/ssh:/git@git.zx2c4.com | |
| parent | soundwire: bus: add better dev_dbg to track complete() calls (diff) | |
| download | linux-dev-18de2f72b74aa38dd4e561f6a80571190064dd61.tar.xz linux-dev-18de2f72b74aa38dd4e561f6a80571190064dd61.zip | |
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 'tools/include/trace/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
