Re: [PATCH 11/15] twl4030_charger: enable manual enable/disable of usb charging.

From: Pavel Machek
Date: Wed Mar 04 2015 - 05:19:50 EST


On Wed 2015-03-04 17:15:09, NeilBrown wrote:
> On Mon, 2 Mar 2015 22:03:42 +0100 Pavel Machek <pavel@xxxxxx> wrote:
>
> > On Tue 2015-02-24 15:33:52, NeilBrown wrote:
> > > 'off' or 'auto' to
> > >
> > > /sys/class/power/twl4030_usb/mode
> > >
> > > will now enable or disable charging from USB port. Normally this is
> > > enabled on 'plug' and disabled on 'unplug'.
> > > Unplug will still disable charging. 'plug' will only enable it if
> > > 'auto' if selected.
> >
> > This should go to Documentation/
>
> You mean in Documentation/ABI/stable I guess??

Yes.

> That strikes me as a failed experiment - there is hardly anything there.
>
> I'd be very happy to put the documentation with the code if there was some
> mechanism to automatically extract it. But I really see little value in
> Documentation/ABI.

It was useful in past, and rules say it is required. Feel free to talk
to greg about better place, but this is the place we have now and
documentation is useful. And since you already document it in the
changelogs... it should not be that much work.

> > Acked-by: Pavel Machek <pavel@xxxxxx>
>
> Thanks a lot!

You are welcome :-).
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
--
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/