Searched hist:"942 c5ea49ffbe28b004ffb9b620f1aa4e21ba94a" (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/pinctrl/intel/ |
H A D | pinctrl-intel.c | diff 942c5ea49ffbe28b004ffb9b620f1aa4e21ba94a Tue Oct 22 05:00:04 CDT 2019 Andy Shevchenko <andriy.shevchenko@linux.intel.com> pinctrl: intel: Use helper to restore register values on ->resume()
We can restore only values that had been changed and do not spam kernel log with unnecessary messages. Convert intel_gpio_update_pad_mode() to a helper function that will be used across few callers.
Suggested-by: Mika Westerberg <mika.westerberg@linux.intel.com> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
|