Re: [PATCH 3/3] viafb: add VIA slapping capability

From: Florian Tobias Schandinat
Date: Thu Mar 24 2011 - 17:11:46 EST


Xavier Bachelot schrieb:
On 03/24/2011 05:13 PM, Florian Tobias Schandinat wrote:
This patch introduces dummy functions to execute when we don't know
what we should do (due to missing documentation). They do nothing
but print a nice message in the log explaining the situation.
To trigger this message initial power management support is
activated which might save a bit energy by disabling PLL and clock
if no device is configured to use them.

Note: The message is only shown for the oldest IGPs CLE266 and K400
as for the other platforms there are reasonable assumptions
how it does (hopefully) work.

Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@xxxxxx>
---

+static void dummy_set_clock_source(enum via_clksrc source, bool use_pll)
+{
+ printk(KERN_INFO "Using undocumented set slock soure.\n%s", via_slap);

2 typos above.

Indeed. Thanks for pointing it out, fixed.

Regards,
Xavier

Regards,

Florian Tobias Schandinat
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/