]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
V4L/DVB (6475): Fix some troubles at list handling
authorMauro Carvalho Chehab <mchehab@infradead.org>
Mon, 29 Oct 2007 20:38:59 +0000 (17:38 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Fri, 25 Jan 2008 21:01:35 +0000 (19:01 -0200)
commit1808a698a87366f9d82945270355c2139df0a16d
treef9842853056a271fac66852a1127e930a25f114d
parent882876bf9780fac570184b719a76140a1b1e4178
V4L/DVB (6475): Fix some troubles at list handling

- priv->count were wrong. Should be incremented since the first usage;
- forgot to use list_del() to remove the driver;
- Release memory if an error occurs during _attach

Thanks to Aidan Thornton <makosoft@googlemail.com> for pointing this.

Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/video/tuner-xc2028.c