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>
Sat, 19 Feb 2022 02:18:49 +0000 (11:18 +0900)
commita58ff050b428e38461d201b24d388899111ffedf
tree0db2571e56dde97c5baf9b671fef28ed7194db2f
parentcf369e4e5245c583d611729e563c3b81e61d8496
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