]> git.openfabrics.org - ~shefty/rdma-dev.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)
commita77cfcac79c7b171d344e2bc0f05c075bc1fcfb2
tree2dc309f14e1b0d813ef3ac7d0bf31a20c617aae7
parent3151d14aa6e983aa36d51a80d0477859f9ba12af
[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