Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F147486065
D55158.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
551 B
Referenced Files
None
Subscribers
None
D55158.diff
View Options
diff --git a/sys/dev/sdhci/sdhci_fdt_rockchip.c b/sys/dev/sdhci/sdhci_fdt_rockchip.c
--- a/sys/dev/sdhci/sdhci_fdt_rockchip.c
+++ b/sys/dev/sdhci/sdhci_fdt_rockchip.c
@@ -116,9 +116,10 @@
struct sdhci_fdt_softc *sc = device_get_softc(dev);
sc->quirks = 0;
- switch (ofw_bus_search_compatible(dev, compat_data)->ocd_data) {
if (!ofw_bus_status_okay(dev))
return (ENXIO);
+
+ switch (ofw_bus_search_compatible(dev, compat_data)->ocd_data) {
case SDHCI_FDT_RK3399:
device_set_desc(dev, "Rockchip RK3399 fdt SDHCI controller");
break;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Mar 12, 9:06 AM (1 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28470201
Default Alt Text
D55158.diff (551 B)
Attached To
Mode
D55158: sdhci_fdt_rockchip: Move ofw_bus_status_okay check
Attached
Detach File
Event Timeline
Log In to Comment