linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v3 0/2] pwm fixes for 3.8
@ 2012-11-19 17:44 Tony Prisk
  2012-11-19 17:44 ` [PATCH v3 1/2] Fix build error in pwm-vt8500.c Tony Prisk
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Tony Prisk @ 2012-11-19 17:44 UTC (permalink / raw)
  To: linux-arm-kernel

Hi Theirry,

I felt the error message for clk_enable in vt8500_pwm_config() needed
to somehow indicate that the clk_enable failed in this function otherwise
if there is a problem, you can't tell which of the clk_enable's
generated the fail message.
If there is a clock error - as you pointed out - it will probably fail
elsewhere as well so I've changed it to match the other error messages.

These should be applied on top of the original patch.

v2: Add error checking for clk_enable()
v3: Remove superfluous ;'s. Error message style correction.

Tony Prisk (2):
  Fix build error in pwm-vt8500.c
  pwm: vt8500: Ensure pwm clock is enabled during pwm_config

 drivers/pwm/pwm-vt8500.c |   16 +++++++++++++---
 1 file changed, 13 insertions(+), 3 deletions(-)

-- 
1.7.9.5

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-11-20 12:16 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-19 17:44 [PATCH v3 0/2] pwm fixes for 3.8 Tony Prisk
2012-11-19 17:44 ` [PATCH v3 1/2] Fix build error in pwm-vt8500.c Tony Prisk
2012-11-19 17:44 ` [PATCH v3 2/2] pwm: vt8500: Ensure pwm clock is enabled during pwm_config Tony Prisk
2012-11-20 12:16 ` [PATCH v3 0/2] pwm fixes for 3.8 Thierry Reding

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).