[media] mantis: fix silly crash case
authorAlan Cox <alan@linux.intel.com>
Thu, 9 Aug 2012 15:33:52 +0000 (12:33 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 12 Aug 2012 15:22:43 +0000 (12:22 -0300)
commite1d45ae10aea8e8a403e5d96bf5902ee670007ff
tree233b04be392f94701ce5f3593efa15da51e0a58f
parent3a7503b55ef19494a8eb1a1ccaecf09335c2489d
[media] mantis: fix silly crash case

If we set mantis->fe to NULL on an error its not a good idea to then try
passing NULL to the unregister paths and oopsing really.

Resolves-bug: https://bugzilla.kernel.org/show_bug.cgi?id=16473

Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/mantis/mantis_dvb.c