Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

V4L/DVB (12756): af9015: fix typo in register compare

And mask should be 0xff00 instead of 0xae00.

Thanks to Jochen Friedrich <jochen@scram.de> for pointing this.

Cc: Jochen Friedrich <jochen@scram.de>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Antti Palosaari and committed by
Mauro Carvalho Chehab
f4e96deb 06565d7a

+1 -1
+1 -1
drivers/media/dvb/dvb-usb/af9015.c
··· 97 97 break; 98 98 case WRITE_MEMORY: 99 99 if (((req->addr & 0xff00) == 0xff00) || 100 - ((req->addr & 0xae00) == 0xae00)) 100 + ((req->addr & 0xff00) == 0xae00)) 101 101 buf[0] = WRITE_VIRTUAL_MEMORY; 102 102 case WRITE_VIRTUAL_MEMORY: 103 103 case COPY_FIRMWARE: