]> 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)
commit8c7e59a07162a52432c5adf8506d7f069d01085e
tree2dc309f14e1b0d813ef3ac7d0bf31a20c617aae7
parent5885a78da111963f410f76498d7875b60860d1e1
[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