ide-cd: add missing 'ireason' masking to cdrom_write_intr()
authorBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 24 Dec 2007 14:23:43 +0000 (15:23 +0100)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Mon, 24 Dec 2007 14:23:43 +0000 (15:23 +0100)
commit31a71191650dce1bb4a7de6147f1947795826cda
tree56c555ecd912ad9453172eb6204bcdd76a01ad40
parent35379c071a61d025153723f2acb2cc19cc3ca78c
ide-cd: add missing 'ireason' masking to cdrom_write_intr()

Mask 'ireason' variable with 0x3 so the valid interrupt reason value
is passed to cdrom_write_check_ireason() for checking.

Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
drivers/ide/ide-cd.c