Commit c6d6bfb1 authored by Mark Brown's avatar Mark Brown Committed by Samuel Ortiz

mfd: wm5102: Only use the lowest three bits of device revision

Only the lowest three bits contain device revision for WM5102, the high
bits have been repurposed.
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
parent 767c6dc0
...@@ -444,6 +444,7 @@ int arizona_dev_init(struct arizona *arizona) ...@@ -444,6 +444,7 @@ int arizona_dev_init(struct arizona *arizona)
arizona->type = WM5102; arizona->type = WM5102;
} }
apply_patch = wm5102_patch; apply_patch = wm5102_patch;
arizona->rev &= 0x7;
break; break;
#endif #endif
#ifdef CONFIG_MFD_WM5110 #ifdef CONFIG_MFD_WM5110
......
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