On Sat, May 16, 2015 at 02:05:23PM -0300, Ezequiel Garcia wrote: > Thierry, > > On 05/08/2015 06:47 PM, Ezequiel Garcia wrote: > > From: Naidu Tellapati <naidu.tellapati@xxxxxxxxxx> > > > > The PWM hardware on Pistachio platform has a maximum timebase steps > > value to 255. To fix it, let's introduce a compatible-specific > > data structure to contain the SoC-specific details and use it to > > specify a maximum timebase. > > > > Also, let's limit the minimum timebase to 16 steps, to allow a sane > > range of duty cycle steps. > > > > Fixes: 277bb6a29e00 ("pwm: Imagination Technologies PWM DAC driver") > > Signed-off-by: Naidu Tellapati <naidu.tellapati@xxxxxxxxxx> > > Signed-off-by: Ezequiel Garcia <ezequiel.garcia@xxxxxxxxxx> > > --- > > This patch is needed for the pwm-img to work properly, so it should be > > pushed as a v4.1-rc fix. > > > > Any chance you push this patch as a fix for v4.1? Pull request sent now. In the future it'd be nice to make fix patches smaller than this and leave the refactoring to a subsequent patch for inclusion in the next release. Thierry
Attachment:
pgpohyjn2Bwsy.pgp
Description: PGP signature