projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
thermal: rockchip: add temperature dump when panic
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
ata
/
ahci_platform.c
diff --git
a/drivers/ata/ahci_platform.c
b/drivers/ata/ahci_platform.c
index 04975b851c237c4894282f94feed4ad19a1c9b01..639adb1f8abdc08e7a4a958868457f35164cfb4d 100644
(file)
--- a/
drivers/ata/ahci_platform.c
+++ b/
drivers/ata/ahci_platform.c
@@
-51,6
+51,9
@@
static int ahci_probe(struct platform_device *pdev)
if (rc)
return rc;
+ of_property_read_u32(dev->of_node,
+ "ports-implemented", &hpriv->force_port_map);
+
if (of_device_is_compatible(dev->of_node, "hisilicon,hisi-ahci"))
hpriv->flags |= AHCI_HFLAG_NO_FBS | AHCI_HFLAG_NO_NCQ;