Skip to content

Commit b9ba367

Browse files
paulmenzelDamien Le Moal
authored andcommitted
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>
1 parent 84eac32 commit b9ba367

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/ata/ahci_brcm.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ static struct ata_port_operations ahci_brcm_platform_ops = {
333333

334334
static const struct ata_port_info ahci_brcm_port_info = {
335335
.flags = AHCI_FLAG_COMMON | ATA_FLAG_NO_DIPM,
336-
.link_flags = ATA_LFLAG_NO_DB_DELAY,
336+
.link_flags = ATA_LFLAG_NO_DEBOUNCE_DELAY,
337337
.pio_mask = ATA_PIO4,
338338
.udma_mask = ATA_UDMA6,
339339
.port_ops = &ahci_brcm_platform_ops,

drivers/ata/libata-sata.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -317,7 +317,7 @@ int sata_link_resume(struct ata_link *link, const unsigned long *params,
317317
* immediately after resuming. Delay 200ms before
318318
* debouncing.
319319
*/
320-
if (!(link->flags & ATA_LFLAG_NO_DB_DELAY))
320+
if (!(link->flags & ATA_LFLAG_NO_DEBOUNCE_DELAY))
321321
ata_msleep(link->ap, 200);
322322

323323
/* is SControl restored correctly? */

include/linux/libata.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ enum {
143143
ATA_LFLAG_NO_LPM = (1 << 8), /* disable LPM on this link */
144144
ATA_LFLAG_RST_ONCE = (1 << 9), /* limit recovery to one reset */
145145
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 */
147147

148148
/* struct ata_port flags */
149149
ATA_FLAG_SLAVE_POSS = (1 << 0), /* host supports slave dev */

0 commit comments

Comments
 (0)