OSDN Git Service

[media] mb86a20s: fix the PER reset logic
authorMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Jan 2013 14:51:23 +0000 (11:51 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 24 Jan 2013 16:27:16 +0000 (14:27 -0200)
commit313cf4efa40ef739199bd68a76f89f8a5224a541
treeb345159d7a230b2bb9109c8cb718a3f4d262b5d7
parentad0abbf118519c14fee5256395f9c104e8023e9b
[media] mb86a20s: fix the PER reset logic

The logic that resets the device is wrong. It should be resetting
just the layer that got read. Also, stop is needed before updating
the counters.

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