]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ide: mask interrupt in ide_config_drive_speed()
authorSergei Shtylyov <sshtylyov@ru.mvista.com>
Fri, 17 Oct 2008 16:09:15 +0000 (18:09 +0200)
committerBartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Fri, 17 Oct 2008 16:09:15 +0000 (18:09 +0200)
commite5403bff8a4018240f012fd4c7afa24c2e75b469
treee47a9f19d201b0e3a8b9d7f61472beccfa765567
parent79104c687ca29e214142d8e8f30964be05e1276f
ide: mask interrupt in ide_config_drive_speed()

Apparently, there is no sense in unmasking IRQ on the controller when you call
disable_irq_nosync() before doing this, set the nIEN bit afterwards, and then
unmask IRQ again after the command completion, hence 0 passed to SELECT_MASK()
before issuing the command in ide_config_drive_speed() is probably just a typo.

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