Re: [PATCH] Input: add regulator haptic driver

2013-10-24 Thread Mark Brown
On Fri, Oct 11, 2013 at 11:22:00AM +0900, hyunhee.kim wrote: > + if (enable && !haptic->enabled) { > + haptic->enabled = true; > + ret = regulator_enable(haptic->regulator); > + if (ret) > + pr_err("haptic: %s failed to enable regulator\n

Re: [PATCH] Input: add regulator haptic driver

2013-10-21 Thread Dmitry Torokhov
Hi Hyunhee, On Fri, Oct 11, 2013 at 11:26:05AM +0900, hyunhee.kim wrote: > From: Hyunhee Kim > Date: Wed, 9 Oct 2013 16:21:36 +0900 > Subject: [PATCH] Input: add regulator haptic driver > > The regulator haptic driver function can be used to control motor by on/off > regulator. > User can contr

Re: [PATCH] Input: add regulator haptic driver

2013-10-21 Thread Aristeu Sergio Rozanski Filho
On Fri, Oct 11, 2013 at 11:26:05AM +0900, hyunhee.kim wrote: > The regulator haptic driver function can be used to control motor by on/off > regulator. > User can control the haptic driver by using force feedback framework. > > Signed-off-by: Hyunhee Kim > Signed-off-by: Kyungmin Park > --- > d

Re: [PATCH] Input: add regulator haptic driver

2013-10-21 Thread Aristeu Sergio Rozanski Filho
Hi Hyunhee, On Fri, Oct 11, 2013 at 11:26:05AM +0900, hyunhee.kim wrote: > +static void regulator_haptic_work(struct work_struct *work) > +{ > + struct regulator_haptic *haptic = container_of(work, > +struct > regulator_haptic, you got a line