Commit ee22082
drm/vc4: hdmi: Unregister codec device on unbind
[ Upstream commit e40945a ]
On bind we will register the HDMI codec device but we don't unregister
it on unbind, leading to a device leakage. Unregister our device at
unbind.
Signed-off-by: Maxime Ripard <maxime@cerno.tech>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20220127111452.222002-1-maxime@cerno.tech
Signed-off-by: Sasha Levin <sashal@kernel.org>1 parent 5bef4e5 commit ee22082
2 files changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1522 | 1522 | | |
1523 | 1523 | | |
1524 | 1524 | | |
| 1525 | + | |
1525 | 1526 | | |
1526 | 1527 | | |
1527 | 1528 | | |
| |||
1561 | 1562 | | |
1562 | 1563 | | |
1563 | 1564 | | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
1564 | 1571 | | |
1565 | 1572 | | |
1566 | 1573 | | |
| |||
2298 | 2305 | | |
2299 | 2306 | | |
2300 | 2307 | | |
| 2308 | + | |
2301 | 2309 | | |
2302 | 2310 | | |
2303 | 2311 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
113 | 113 | | |
114 | 114 | | |
115 | 115 | | |
| 116 | + | |
116 | 117 | | |
117 | 118 | | |
118 | 119 | | |
| |||
0 commit comments