ata: pata_hpt366: disable fast interrupts in prereset() method
authorSergey Shtylyov <s.shtylyov@omp.ru>
Thu, 10 Feb 2022 19:22:12 +0000 (22:22 +0300)
committerDamien Le Moal <damien.lemoal@opensource.wdc.com>
Wed, 16 Feb 2022 06:59:06 +0000 (15:59 +0900)
commite1dd33b2503bff6b75bc655fb576b0396d204b06
tree0db2571e56dde97c5baf9b671fef28ed7194db2f
parentd71c02b0caeff2f7702ecca02854d3011dc29135
ata: pata_hpt366: disable fast interrupts in prereset() method

The PIO/DMA mode setting function is hardly a good place for disabling
the fast interrupts on a channel -- let's move that code to the driver's
prereset() method instead.

Signed-off-by: Sergey Shtylyov <s.shtylyov@omp.ru>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>
drivers/ata/pata_hpt366.c