X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fata%2Flibata-eh.c;h=bf039b0e97b79d7f9c9d2bae803ad84850b181b4;hb=03c850ec327c42a97e44c448b75983e12da417d9;hp=e60437cd0d192efeb68ffdb93c7e0fd0a0f62423;hpb=efec22b4689bbfdbed26367219e981fcc946b9a6;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/ata/libata-eh.c b/drivers/ata/libata-eh.c index e60437cd0d19..bf039b0e97b7 100644 --- a/drivers/ata/libata-eh.c +++ b/drivers/ata/libata-eh.c @@ -2657,6 +2657,7 @@ int ata_eh_reset(struct ata_link *link, int classify, * bus as we may be talking too fast. */ dev->pio_mode = XFER_PIO_0; + dev->dma_mode = 0xff; /* If the controller has a pio mode setup function * then use it to set the chipset to rights. Don't