Skip to content

Commit 74ee48a

Browse files
committed
Merge tag 'ata-6.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux
Pull ata fix from Niklas Cassel: - Fix an unintentional masking of AHCI ports when the device tree does not define port child nodes (Damien) * tag 'ata-6.14-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/libata/linux: ata: libahci_platform: Do not set mask_port_map when not needed
2 parents 319fc77 + 2c202e6 commit 74ee48a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

drivers/ata/libahci_platform.c

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -651,8 +651,6 @@ struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev,
651651
* If no sub-node was found, keep this for device tree
652652
* compatibility
653653
*/
654-
hpriv->mask_port_map |= BIT(0);
655-
656654
rc = ahci_platform_get_phy(hpriv, 0, dev, dev->of_node);
657655
if (rc)
658656
goto err_out;

0 commit comments

Comments
 (0)