diff options
author | Ben Hutchings <ben@decadent.org.uk> | 2012-08-20 02:32:27 +0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-09-14 21:04:16 +0400 |
commit | 4b961180ef275035b1538317ffd0e21e80e63e77 (patch) | |
tree | 550e2aff072691ed91e4ad703637ffaf14f1144d /Documentation/dvb | |
parent | 612cd9e87496cc34c29ff3a3c0adb52cd816c3b6 (diff) | |
download | linux-4b961180ef275035b1538317ffd0e21e80e63e77.tar.xz |
[media] rc: ite-cir: Initialise ite_dev::rdev earlier
ite_dev::rdev is currently initialised in ite_probe() after
rc_register_device() returns. If a newly registered device is opened
quickly enough, we may enable interrupts and try to use ite_dev::rdev
before it has been initialised. Move it up to the earliest point we
can, right after calling rc_allocate_device().
Reported-and-tested-by: YunQiang Su <wzssyqa@gmail.com>
Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Cc: stable@vger.kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'Documentation/dvb')
0 files changed, 0 insertions, 0 deletions