1
0
Fork 0

[media] tlg2300: add missing video_unregister_device

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Acked-by: Huang Shijie <shijie8@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
hifive-unleashed-5.1
Hans Verkuil 2012-07-16 08:17:34 -03:00 committed by Mauro Carvalho Chehab
parent 42e509c6d3
commit 270ecca60e
1 changed files with 1 additions and 0 deletions

View File

@ -334,6 +334,7 @@ int poseidon_fm_init(struct poseidon *p)
int poseidon_fm_exit(struct poseidon *p)
{
video_unregister_device(&p->radio_data.fm_dev);
v4l2_ctrl_handler_free(&p->radio_data.ctrl_handler);
return 0;
}