diff options
author | Chao Song <[email protected]> | 2021-01-26 16:54:39 +0800 |
---|---|---|
committer | Vinod Koul <[email protected]> | 2021-02-01 16:10:40 +0530 |
commit | 18de2f72b74aa38dd4e561f6a80571190064dd61 (patch) | |
tree | 7a5f1bb9a85c4ac23a637ee3e23d42c353c5306d /scripts/gdb/linux/tasks.py | |
parent | f1b690261247c9895f7a4b05d14a4026739134eb (diff) |
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 <[email protected]>
Reviewed-by: Rander Wang <[email protected]>
Reviewed-by: Guennadi Liakhovetski <[email protected]>
Reviewed-by: Pierre-Louis Bossart <[email protected]>
Signed-off-by: Bard Liao <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/tasks.py')
0 files changed, 0 insertions, 0 deletions