]> git.baikalelectronics.ru Git - kernel.git/commit
[media] mb86a20s: improve error handling at get_frontend
authorMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 14 Jan 2013 12:26:09 +0000 (09:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Tue, 22 Jan 2013 10:10:52 +0000 (08:10 -0200)
commit8ad25775f5347efe9c08dc359f6244474af76110
tree2dc309f14e1b0d813ef3ac7d0bf31a20c617aae7
parentf82c0a49f00c11e6446e32d3b7c8b99bd4c9b299
[media] mb86a20s: improve error handling at get_frontend

The read/write errors are not handled well on get_frontend. Fix it,
by letting the frontend cached values to represent the DVB properties
that were successfully retrieved.
While here, use "c" for dtv_frontend_properties cache, instead of
"p", as this is more common.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb-frontends/mb86a20s.c