diff options
| author | Chao Song <chao.song@linux.intel.com> | 2021-01-26 16:54:39 +0800 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2021-02-01 16:10:40 +0530 |
| commit | 18de2f72b74aa38dd4e561f6a80571190064dd61 (patch) | |
| tree | 7a5f1bb9a85c4ac23a637ee3e23d42c353c5306d /tools/perf/scripts/python/bin | |
| parent | soundwire: bus: add better dev_dbg to track complete() calls (diff) | |
| download | linux-18de2f72b74aa38dd4e561f6a80571190064dd61.tar.gz linux-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/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions
