commit | cc355753e860559744baf5ddb2fcf427433e0346 | [log] [tgz] |
---|---|---|
author | Devin Heitmueller <dheitmueller@hauppauge.com> | Mon Jul 12 15:31:56 2010 -0300 |
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | Thu Oct 21 01:17:22 2010 -0200 |
tree | e1ac13f8195bfb4334e210b3a42ec3af5728d437 | |
parent | 435b4f7897b7e2f233c313e65ac82bd1d3599c43 [diff] |
[media] cx231xx: Clear avmode bits before setting We need to clear out the field before setting individual bits, or else we end up with a union of whatever was there and what we are trying to set. For example, switching to digital mode ends up being 0x30 instead of 0x10 if we were previously in analog tv mode. Signed-off-by: Devin Heitmueller <dheitmueller@hauppauge.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>