diff options
author | Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> | 2021-01-22 15:06:34 +0800 |
---|---|---|
committer | Vinod Koul <vkoul@kernel.org> | 2021-02-07 17:49:17 +0530 |
commit | 6d7a1ff71cbb326fadfbedb7f75c1fc8f5c84d84 (patch) | |
tree | 1f461f30b653fd205e5860161135de75f331254c /virt | |
parent | 973794e85610d9a716a897baa9007ff56e192826 (diff) | |
download | linux-6d7a1ff71cbb326fadfbedb7f75c1fc8f5c84d84.tar.bz2 |
soundwire: bus: clarify dev_err/dbg device references
The SoundWire bus code confuses bus and Slave device levels for
dev_err/dbg logs. That's not impacting functionality but the accuracy
of kernel logs.
We should only use bus->dev for bus-level operations and handling of
Device0. For all other logs where the device number is not zero, we
should use &slave->dev to provide more precisions to the
user/integrator.
Reported-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@linux.intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20210122070634.12825-10-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'virt')
0 files changed, 0 insertions, 0 deletions