summaryrefslogtreecommitdiffstats
path: root/.gitattributes
diff options
context:
space:
mode:
authorDmitry Torokhov2018-07-18 20:03:36 +0200
committerDmitry Torokhov2018-07-25 21:04:15 +0200
commit34dad2cf1104869ce2db2bddb34f8e6780c2ddaa (patch)
treebb117a473c186aa8263dc44a0459cf4ae9b7defc /.gitattributes
parentInput: pxrc - do not store USB device in private struct (diff)
downloadkernel-qcow2-linux-34dad2cf1104869ce2db2bddb34f8e6780c2ddaa.tar.gz
kernel-qcow2-linux-34dad2cf1104869ce2db2bddb34f8e6780c2ddaa.tar.xz
kernel-qcow2-linux-34dad2cf1104869ce2db2bddb34f8e6780c2ddaa.zip
Input: pxrc - fix freeing URB on device teardown
URB is the only resource that is not managed, and thus is destroyed too early, before we unregister input device and stop URB in pxrc_close(). To fix it let's install custom devm handler to free the URB at the right time in devm unwind sequence. Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com> Tested-by: Marcus Folkesson <marcus.folkesson@gmail.com> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to '.gitattributes')
0 files changed, 0 insertions, 0 deletions