Re: [PATCH] pwm: Check for negative duty-cycle and period

2012-10-03 Thread Jingoo Han
On Monday, October 01, 2012 3:35 PM Thierry Reding wrote > > Make sure the duty-cycle and period passed in are not negative. This > should eventually be made implicit by making them unsigned. While at > it, the drivers' .config() implementations can have the equivalent > checks removed. > >

Re: [PATCH] pwm: Check for negative duty-cycle and period

2012-10-03 Thread Jingoo Han
On Monday, October 01, 2012 3:35 PM Thierry Reding wrote Make sure the duty-cycle and period passed in are not negative. This should eventually be made implicit by making them unsigned. While at it, the drivers' .config() implementations can have the equivalent checks removed.

[PATCH] pwm: Check for negative duty-cycle and period

2012-10-01 Thread Thierry Reding
Make sure the duty-cycle and period passed in are not negative. This should eventually be made implicit by making them unsigned. While at it, the drivers' .config() implementations can have the equivalent checks removed. Signed-off-by: Thierry Reding Cc: Shawn Guo Cc: Mark Brown Cc: Arnd

[PATCH] pwm: Check for negative duty-cycle and period

2012-10-01 Thread Thierry Reding
Make sure the duty-cycle and period passed in are not negative. This should eventually be made implicit by making them unsigned. While at it, the drivers' .config() implementations can have the equivalent checks removed. Signed-off-by: Thierry Reding thierry.red...@avionic-design.de Cc: Shawn Guo