V4L/DVB (3723): Avoid unnecessary firmware re-loads in or51132 frontend
authorTrent Piepho <xyzzy@speakeasy.org>
Tue, 4 Apr 2006 12:30:29 +0000 (09:30 -0300)
committerMauro Carvalho Chehab <mchehab@infradead.org>
Sun, 25 Jun 2006 04:57:44 +0000 (01:57 -0300)
commit87184554722b9d06154d70a48aa63ad744ef3fa9
tree53bfab40c8e6f32175c6d773fb1d2e7e85a867bd
parent005b541f884975544594ceb8f2ff81b623500745
V4L/DVB (3723): Avoid unnecessary firmware re-loads in or51132 frontend

As QAM_64, QAM_256, and QAM_AUTO all use the same firmware, switching
between these modulations doesn't require a firmware re-load.  This also
fixes a mishandled error condition, in which the firmware file is loaded
into the kernel, the clock mode is changed, but then the firmware upload
to the device fails.  The modulation change is aborted, but the clock
mode would still be changed.

Signed-off-by: Trent Piepho <xyzzy@speakeasy.org>
Signed-off-by: Andrew de Quincey <adq_dvb@lidskialf.net>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
drivers/media/dvb/frontends/or51132.c