Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 58063
b: refs/heads/master
c: 09d7f9b
h: refs/heads/master
i:
  58061: dd4fd56
  58059: e536eb1
  58055: 0062423
  58047: de7fad4
v: v3
  • Loading branch information
Tejun Heo authored and Jeff Garzik committed Jun 27, 2007
1 parent 4d7eda6 commit 0d6607f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 112cc2b510156494918abdf877111dfd56e5643b
refs/heads/master: 09d7f9b0658072485a93247e1b6e15e661f860d2
5 changes: 3 additions & 2 deletions trunk/drivers/ata/libata-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -600,8 +600,9 @@ static const char *sata_spd_string(unsigned int spd)

void ata_dev_disable(struct ata_device *dev)
{
if (ata_dev_enabled(dev) && ata_msg_drv(dev->ap)) {
ata_dev_printk(dev, KERN_WARNING, "disabled\n");
if (ata_dev_enabled(dev)) {
if (ata_msg_drv(dev->ap))
ata_dev_printk(dev, KERN_WARNING, "disabled\n");
ata_down_xfermask_limit(dev, ATA_DNXFER_FORCE_PIO0 |
ATA_DNXFER_QUIET);
dev->class++;
Expand Down

0 comments on commit 0d6607f

Please sign in to comment.