aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@linux-foundation.org>2025-02-20 18:05:24 -0800
committerLinus Torvalds <torvalds@linux-foundation.org>2025-02-20 18:05:24 -0800
commit74ee48a2b4afa152b2d7f741677f6ada3c11be51 (patch)
tree8daea69b62c6535f5d2fe433d09f060a2edb837a
parentMerge tag 'bpf-fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/bpf/bpf (diff)
parentata: libahci_platform: Do not set mask_port_map when not needed (diff)
downloadlinux-74ee48a2b4afa152b2d7f741677f6ada3c11be51.tar.gz
linux-74ee48a2b4afa152b2d7f741677f6ada3c11be51.zip
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
-rw-r--r--drivers/ata/libahci_platform.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c
index 53b2c7719dc5..91d44302eac9 100644
--- a/drivers/ata/libahci_platform.c
+++ b/drivers/ata/libahci_platform.c
@@ -651,8 +651,6 @@ struct ahci_host_priv *ahci_platform_get_resources(struct platform_device *pdev,
* If no sub-node was found, keep this for device tree
* compatibility
*/
- hpriv->mask_port_map |= BIT(0);
-
rc = ahci_platform_get_phy(hpriv, 0, dev, dev->of_node);
if (rc)
goto err_out;