]> asedeno.scripts.mit.edu Git - linux.git/commitdiff
pinctrl: intel: Drop level from warning to debug in intel_restore_hostown()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 22 Oct 2019 10:00:03 +0000 (13:00 +0300)
committerAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Wed, 30 Oct 2019 14:05:18 +0000 (16:05 +0200)
Since we didn't get any new reports from users about wrong settings
of pad ownership, there is no point to spam kernel log with it. Thus,
drop level from warning to debug.

Also, modify format to be in align with the rest restore helpers.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/pinctrl/intel/pinctrl-intel.c

index da34750a420f32b1d96e5a43ec488ecac4053714..54a5eb33c9fafbd1cd8229fdac0b1473132a1817 100644 (file)
@@ -1623,7 +1623,7 @@ static void intel_restore_hostown(struct intel_pinctrl *pctrl, unsigned int c,
        if (!((value ^ saved) & requested))
                return;
 
-       dev_warn(dev, "restored hostown %u/%u %#8x->%#8x\n", c, gpp, value, saved);
+       dev_dbg(dev, "restored hostown %u/%u %#08x\n", c, gpp, readl(base + gpp * 4));
 }
 
 static void intel_restore_intmask(struct intel_pinctrl *pctrl, unsigned int c,