Re: [PATCH] soundwire: slave: fix an OF node reference leak in soundwire slave device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 05/12/2024 04:48, Joe Hattori wrote:
> 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 <joe@xxxxxxxxxxxxxxxxxxxxx>
> ---


Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx>

Best regards,
Krzysztof




[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux