Commit fecb2829 authored by Nicolas Ferre's avatar Nicolas Ferre Committed by Greg Kroah-Hartman

USB: host: ohci-at91: add sam9x60-sfr definition for ohci

Add this SFR compatible definition for the sam9x60 SoC and manage
its use in ohci-at91.c driver.
Signed-off-by: default avatarNicolas Ferre <nicolas.ferre@microchip.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 6041828f
...@@ -141,8 +141,11 @@ static struct regmap *at91_dt_syscon_sfr(void) ...@@ -141,8 +141,11 @@ static struct regmap *at91_dt_syscon_sfr(void)
struct regmap *regmap; struct regmap *regmap;
regmap = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr"); regmap = syscon_regmap_lookup_by_compatible("atmel,sama5d2-sfr");
if (IS_ERR(regmap)) if (IS_ERR(regmap)) {
regmap = NULL; regmap = syscon_regmap_lookup_by_compatible("microchip,sam9x60-sfr");
if (IS_ERR(regmap))
regmap = NULL;
}
return regmap; return regmap;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment