diff options
| author | Joe Hattori <[email protected]> | 2024-12-05 03:48:44 +0000 |
|---|---|---|
| committer | Vinod Koul <[email protected]> | 2025-02-13 16:25:57 +0000 |
| commit | aac2f8363f773ae1f65aab140e06e2084ac6b787 (patch) | |
| tree | b4729077d9ecc922d3a546e25bca5bea4289043a /lib/timerqueue.c | |
| parent | soundwire: Use str_enable_disable-like helpers (diff) | |
| download | kernel-aac2f8363f773ae1f65aab140e06e2084ac6b787.tar.gz kernel-aac2f8363f773ae1f65aab140e06e2084ac6b787.zip | |
soundwire: slave: fix an OF node reference leak in soundwire slave device
When initializing a soundwire slave device, an OF node is stored to the
device with refcount incremented. However, the refcount is not
decremented in .release(), thus call of_node_put() in
sdw_slave_release().
Fixes: a2e484585ad3 ("soundwire: core: add device tree support for slave devices")
Signed-off-by: Joe Hattori <[email protected]>
Reviewed-by: Krzysztof Kozlowski <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Vinod Koul <[email protected]>
Diffstat (limited to 'lib/timerqueue.c')
0 files changed, 0 insertions, 0 deletions
