commit | e5403bff8a4018240f012fd4c7afa24c2e75b469 | [log] [tgz] |
---|---|---|
author | Sergei Shtylyov <sshtylyov@ru.mvista.com> | Fri Oct 17 18:09:15 2008 +0200 |
committer | Bartlomiej Zolnierkiewicz <bzolnier@gmail.com> | Fri Oct 17 18:09:15 2008 +0200 |
tree | e47a9f19d201b0e3a8b9d7f61472beccfa765567 | |
parent | 79104c687ca29e214142d8e8f30964be05e1276f [diff] |
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>