commit | e4129a9ccea54e8f4fbc408476120059809a4627 | [log] [tgz] |
---|---|---|
author | Hans Verkuil <hverkuil@xs4all.nl> | Thu Mar 19 16:53:32 2009 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Mon Mar 30 12:43:46 2009 -0300 |
tree | 00b1544084df8fec5252ba8f7032c085c5b42402 | |
parent | 411674fd189abe5910ea4caf08b7eac5c4a4d967 [diff] |
V4L/DVB (11277): tvaudio: always call init_timer to prevent rmmod crash. In the tvaudio_remove function del_timer_sync(&chip->wt) is called. However, chip->wt isn't always initialized depending on the type of audio chip. Since del_timer_sync hangs when given an uninitialized timer we should always initialize it. Signed-off-by: Hans Verkuil <hverkuil@xs4all.nl> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>