diff options
author | Andy Shevchenko <andriy.shevchenko@linux.intel.com> | 2015-03-25 19:03:55 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-03-30 09:19:56 +0200 |
commit | bafc1face21f34005d34b72010ad6d7235bd448e (patch) | |
tree | f1cb45ab8d9ddc8009c255aa83789f1f89232ea2 /drivers/mfd/mc13xxx-i2c.c | |
parent | dt-bindings: Add vendor-prefix for X-Powers (diff) | |
download | linux-bafc1face21f34005d34b72010ad6d7235bd448e.tar.xz linux-bafc1face21f34005d34b72010ad6d7235bd448e.zip |
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 <andriy.shevchenko@linux.intel.com>
[Lee: Removed overt "sentinel" comment and extra lines]
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/mfd/mc13xxx-i2c.c')
0 files changed, 0 insertions, 0 deletions