summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-03-04 10:09:09 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-03-04 10:09:09 -0300
commit09cba0a2d93b91a32f3daaf905a25416d8d795eb (patch)
tree7df7c113f4ce4ef7cc8819884be116d17cbaf864 /linux/drivers/media/video
parentca95082f33a1a2a02ba3a5f473c1f2e855444944 (diff)
downloadmediapointer-dvb-s2-09cba0a2d93b91a32f3daaf905a25416d8d795eb.tar.gz
mediapointer-dvb-s2-09cba0a2d93b91a32f3daaf905a25416d8d795eb.tar.bz2
em28xx: correct use of and fix
From: Andrew Morton <akpm@linux-foundation.org> be less silly while we're there. Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'linux/drivers/media/video')
-rw-r--r--linux/drivers/media/video/em28xx/em28xx-core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/em28xx/em28xx-core.c b/linux/drivers/media/video/em28xx/em28xx-core.c
index 844ab9f77..efc0e4a99 100644
--- a/linux/drivers/media/video/em28xx/em28xx-core.c
+++ b/linux/drivers/media/video/em28xx/em28xx-core.c
@@ -318,7 +318,7 @@ static int em28xx_write_ac97(struct em28xx *dev, u8 reg, u8 *val)
for (i = 0; i < 10; i++) {
if ((ret = em28xx_read_reg(dev, AC97BUSY_REG)) < 0)
return ret;
- if (!(((u8)ret) & 0x01))
+ if (!(ret & 0x01))
return 0;
msleep(5);
}