]> git.karo-electronics.de Git - mv-sheeva.git/commit
[media] dm1105: handle errors from dvb_net_init
authorJonathan Nieder <jrnieder@gmail.com>
Sat, 31 Dec 2011 11:08:45 +0000 (08:08 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Fri, 6 Jan 2012 14:50:17 +0000 (12:50 -0200)
commit5584c641be9e4ff812443511363a72edaa5ceeaa
treef3ba8db91b3db4cff7a8cee82ae2dea8a20b0e7c
parent2dbbac330621e83d00e904d1139b62e7b360f946
[media] dm1105: handle errors from dvb_net_init

Clean up and error out if dvb_net_init fails (for example due to
ENOMEM).  This involves moving the dvb_net_init call to before
frontend_init to make cleaning up a little easier.

From an audit of dvb_net_init callers, now that dvb_net_init lets
callers know about errors.

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