Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

ata: libata: Rename link flag ATA_LFLAG_NO_DB_DELAY

Rename the link flag ATA_LFLAG_NO_DB_DELAY to
ATA_LFLAG_NO_DEBOUNCE_DELAY. The new name is longer, but clearer.

Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
Signed-off-by: Damien Le Moal <damien.lemoal@opensource.wdc.com>

authored by

Paul Menzel and committed by
Damien Le Moal
b9ba367c 84eac327

+3 -3
+1 -1
drivers/ata/ahci_brcm.c
··· 333 333 334 334 static const struct ata_port_info ahci_brcm_port_info = { 335 335 .flags = AHCI_FLAG_COMMON | ATA_FLAG_NO_DIPM, 336 - .link_flags = ATA_LFLAG_NO_DB_DELAY, 336 + .link_flags = ATA_LFLAG_NO_DEBOUNCE_DELAY, 337 337 .pio_mask = ATA_PIO4, 338 338 .udma_mask = ATA_UDMA6, 339 339 .port_ops = &ahci_brcm_platform_ops,
+1 -1
drivers/ata/libata-sata.c
··· 317 317 * immediately after resuming. Delay 200ms before 318 318 * debouncing. 319 319 */ 320 - if (!(link->flags & ATA_LFLAG_NO_DB_DELAY)) 320 + if (!(link->flags & ATA_LFLAG_NO_DEBOUNCE_DELAY)) 321 321 ata_msleep(link->ap, 200); 322 322 323 323 /* is SControl restored correctly? */
+1 -1
include/linux/libata.h
··· 143 143 ATA_LFLAG_NO_LPM = (1 << 8), /* disable LPM on this link */ 144 144 ATA_LFLAG_RST_ONCE = (1 << 9), /* limit recovery to one reset */ 145 145 ATA_LFLAG_CHANGED = (1 << 10), /* LPM state changed on this link */ 146 - ATA_LFLAG_NO_DB_DELAY = (1 << 11), /* no debounce delay on link resume */ 146 + ATA_LFLAG_NO_DEBOUNCE_DELAY = (1 << 11), /* no debounce delay on link resume */ 147 147 148 148 /* struct ata_port flags */ 149 149 ATA_FLAG_SLAVE_POSS = (1 << 0), /* host supports slave dev */