[media] media: tuner xc5000 - release firmwware from xc5000_release()
authorShuah Khan <shuahkh@osg.samsung.com>
Tue, 23 Sep 2014 00:30:46 +0000 (21:30 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 23 Sep 2014 19:13:48 +0000 (16:13 -0300)
commit5264a522a597032c009f9143686ebf0fa4e244fb
tree101ba095de6e94cbf6e9c8f9f210bd493268bd77
parent8eb988f1be98e13d33c786ad1511f9870d3038fb
[media] media: tuner xc5000 - release firmwware from xc5000_release()

xc5000 releases firmware right after loading it. Change it to
save the firmware and release it from xc5000_release(). This
helps avoid fecthing firmware when forced firmware load requests
come in to change analog tv frequence and when firmware needs to
be reloaded after suspend and resume.

Signed-off-by: Shuah Khan <shuahkh@osg.samsung.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/tuners/xc5000.c