diff options
| author | Bard Liao <yung-chuan.liao@linux.intel.com> | 2026-05-20 05:57:20 +0300 |
|---|---|---|
| committer | Vinod Koul <vkoul@kernel.org> | 2026-05-29 09:32:05 +0300 |
| commit | 38cd651ebce7065a81c7e950d9e2ea1572304605 (patch) | |
| tree | 88c548ec86228d1d061ea611ff978e76e3776276 /scripts | |
| parent | 8a7fe10eec64bfb7cf4091bca540de4c55d56bfa (diff) | |
| download | linux-38cd651ebce7065a81c7e950d9e2ea1572304605.tar.xz | |
soundwire: only handle alert events when the peripheral is attached
It doesn't make sense to handle an alert event when the peripheral is
not attached. The slave->status could be SDW_SLAVE_ATTACHED or
SDW_SLAVE_ALERT when it is attached on the bus.
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: Péter Ujfalusi <peter.ujfalusi@linux.intel.com>
Reviewed-by: Ranjani Sridharan <ranjani.sridharan@linux.intel.com>
Reviewed-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.dev>
Link: https://patch.msgid.link/20260520025720.1999367-1-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
