]> git.baikalelectronics.ru Git - kernel.git/commit
[media] dm1105: release dvbnet on frontend attachment failure
authorJonathan Nieder <jrnieder@gmail.com>
Fri, 6 Jan 2012 17:40:26 +0000 (14:40 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 7 Jan 2012 13:54:03 +0000 (11:54 -0200)
commit92a02313a59fda5cbca32c3430eb7bb5a87028a1
tree70e5f274dacd0b7ba15e1909599f32ff75a48c57
parent19fcde0c2005f1d78a55cde3b9c432180261dc44
[media] dm1105: release dvbnet on frontend attachment failure

The patch "dm1105: handle errors from dvb_net_init" moved the
initialization of dvbnet to before frontend attachment but forgot
to adjust the error handling when frontend attachment fails.

Signed-off-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dm1105/dm1105.c