summaryrefslogtreecommitdiff
path: root/include/linux/timerqueue.h
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-03-30 12:37:27 +0300
committerHans Verkuil <hverkuil+cisco@kernel.org>2026-05-06 10:05:56 +0300
commit7d6358ab02866e5b7ed8d3a00805297617bbb0ec (patch)
treeb7c7a217f8a658dcce4775774eed054d52012e2d /include/linux/timerqueue.h
parenta0701e387b46e2481c05b47f1235b954bfc2af3e (diff)
downloadlinux-7d6358ab02866e5b7ed8d3a00805297617bbb0ec.tar.xz
media: cx231xx: fix devres lifetime
USB drivers bind to USB interfaces and any device managed resources should have their lifetime tied to the interface rather than parent USB device. This avoids issues like memory leaks when drivers are unbound without their devices being physically disconnected (e.g. on probe deferral or configuration changes). Fix the driver state lifetime so that it is released on driver unbind. Fixes: 184a82784d50 ("[media] cx231xx: use devm_ functions to allocate memory") Cc: stable@vger.kernel.org # 3.17 Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
Diffstat (limited to 'include/linux/timerqueue.h')
0 files changed, 0 insertions, 0 deletions