[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)
commite99663417f626c9bfdc8117b35670a0292b820e6
tree70e5f274dacd0b7ba15e1909599f32ff75a48c57
parent6c59eefd58837cf674b18e8b8760d0d0870fa8d5
[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