diff options
| author | Johan Hovold <johan@kernel.org> | 2025-09-26 16:31:31 +0200 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2026-01-02 12:57:29 +0100 |
| commit | 25073a05068e681fb61004fab88979d8865ef36d (patch) | |
| tree | bed9dcf48b3774e7154c564ef4d8d83648dea9ee /include/net/aligned_data.h | |
| parent | b28fd17adfb2131a7194a917453ed347702251b1 (diff) | |
soc: apple: mailbox: fix device leak on lookup
commit f401671e90ccc26b3022f177c4156a429c024f6c upstream.
Make sure to drop the reference taken to the mbox platform device when
looking up its driver data.
Note that holding a reference to a device does not prevent its driver
data from going away so there is no point in keeping the reference.
Fixes: 6e1457fcad3f ("soc: apple: mailbox: Add ASC/M3 mailbox driver")
Cc: stable@vger.kernel.org # 6.8
Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Neal Gompa <neal@gompa.dev>
Signed-off-by: Sven Peter <sven@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/net/aligned_data.h')
0 files changed, 0 insertions, 0 deletions
