Re: [PATCH v3 19/47] mfd: rk808: Register power-off handler with kernel power-off handler

From: Guenter Roeck
Date: Mon Nov 03 2014 - 17:52:23 EST


On Mon, Nov 03, 2014 at 10:42:27PM +0000, Lee Jones wrote:
> On Mon, 03 Nov 2014, Guenter Roeck wrote:
>
> > On Mon, Nov 03, 2014 at 05:53:46PM +0000, Lee Jones wrote:
> > > On Mon, 27 Oct 2014, Guenter Roeck wrote:
> > >
> > > > Register with kernel power-off handler instead of setting pm_power_off
> > > > directly. Register with low priority to reflect that the original code
> > > > only sets pm_power_off if it was not already set.
> > > >
> > > > Cc: Chris Zhong <zyw@xxxxxxxxxxxxxx>
> > > > Cc: Zhang Qing <zhangqing@xxxxxxxxxxxxxx>
> > > > Signed-off-by: Guenter Roeck <linux@xxxxxxxxxxxx>
> > > > ---
> > > > v3:
> > > > - Replace poweroff in all newly introduced variables and in text
> > > > with power_off or power-off as appropriate
> > > > - Replace POWEROFF_PRIORITY_xxx with POWER_OFF_PRIORITY_xxx
> > > > v2:
> > > > - New patch
> > > >
> > > > drivers/mfd/rk808.c | 30 ++++++++++++++++--------------
> > > > include/linux/mfd/rk808.h | 2 ++
> > > > 2 files changed, 18 insertions(+), 14 deletions(-)
> > >
> > > Code looks okay:
> > >
> > > Acked-by: Lee Jones <lee.jones@xxxxxxxxxx>
> > >
> > Thanks!
> >
> > > ... but how are you thinking about handling this set?
> > >
> >
> > Plan is to send the entire series directly to Linus in the next
> > commit window, as suggested by several of the affected maintainers.
> >
> > I am still missing an Ack for patch 1 of the series. If/when I get
> > that, I'll set up the series except for the last patch to be added
> > to linux-next for it to get some exposure.
> >
> > Of course, that plan may all fall apart if someone objects. In that case,
> > the patches would have to be taken over several releases by the individual
> > maintainers.
>
> Very well. Either is okay with me. It might also be worth
> considering speaking to Linus and requesting permission to send during
> -rc1 to minimise the risk of a huge number of conflicts.
>
That sounds like a good idea. I may have to split the patches into two
parts anyway, to catch any new code setting pm_power_off directly. Maybe
the first part can go in during the commit window and the final part
after -rc1.

Thanks,
Guenter
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/