Commit d1c662b0 authored by Russell King's avatar Russell King Committed by Linus Torvalds

[PATCH] saa7111.c: fix VIDEO_MODE_SECAM

VIDEO_MODE_SECAM was incorrectly writing the contents of cached register 14
back to hardware register 8, rather than using cached register 8.
Signed-off-by: default avatarRussell King <rmk@arm.linux.org.uk>
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent e2e9cdaa
...@@ -342,7 +342,7 @@ saa7111_command (struct i2c_client *client, ...@@ -342,7 +342,7 @@ saa7111_command (struct i2c_client *client,
case VIDEO_MODE_SECAM: case VIDEO_MODE_SECAM:
saa7111_write(client, 0x08, saa7111_write(client, 0x08,
(decoder->reg[0x0e] & 0x3f) | 0x00); (decoder->reg[0x08] & 0x3f) | 0x00);
saa7111_write(client, 0x0e, saa7111_write(client, 0x0e,
(decoder->reg[0x0e] & 0x8f) | 0x50); (decoder->reg[0x0e] & 0x8f) | 0x50);
break; break;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment