aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorAndy Shevchenko <[email protected]>2015-03-25 20:03:55 +0200
committerLee Jones <[email protected]>2015-03-30 08:19:56 +0100
commitbafc1face21f34005d34b72010ad6d7235bd448e (patch)
treef1cb45ab8d9ddc8009c255aa83789f1f89232ea2 /lib/mpi/mpiutil.c
parent0787ded88e620c81ee2e42cee56cbb5cc26077de (diff)
mfd: intel_quark_i2c_gpio: Don't crash if !DMI
dmi_get_system_info() may return NULL either when CONFIG_DMI is not set or when board has an old firmware. The patch prevents a crash and changes the default frequency to be in align with older board. Signed-off-by: Andy Shevchenko <[email protected]> [Lee: Removed overt "sentinel" comment and extra lines] Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions