Thread (1 message) 1 message, 1 author, 2012-03-20

Re: [PATCH v4 01/10] PWM: add pwm framework support

From: Stephen Warren <hidden>
Date: 2012-03-20 01:55:27
Also in: linux-arm-kernel, linux-tegra

On 03/14/2012 09:56 AM, Thierry Reding wrote:
From: Sascha Hauer <redacted>

This patch adds framework support for PWM (pulse width modulation) devices.
...
quoted hunk
diff --git a/drivers/pwm/core.c b/drivers/pwm/core.c
...
quoted hunk
+/**
+ * pwmchip_add() - register a new pwm
+ * @chip: the pwm
+ *
+ * register a new pwm. pwm->pwm_id must be initialized. if pwm_id < 0 then
+ * a dynamically assigned id will be used, otherwise the id specified,
+ */
I don't see anywhere in the code that implements "if pwm_id < 0 then a
dynamically assigned id will be used".
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help