twl4030_charger: Make the driver atomic notifier safe
authorHeikki Krogerus <heikki.krogerus@nokia.com>
Fri, 25 Feb 2011 11:56:36 +0000 (13:56 +0200)
committerAnton Vorontsov <cbouatmailru@gmail.com>
Mon, 28 Feb 2011 14:31:51 +0000 (17:31 +0300)
commitd6ccc442b12102414c1343f0adacaa8a1aaa516c
treecdfec16052084bff8161ef6d7491c36441264c78
parent6501f728c56f831626d52b236023e556bca37f51
twl4030_charger: Make the driver atomic notifier safe

This queues work from the otg notification where the
i2c operations can be safely made. Needed for atomic otg
notifiers.

Signed-off-by: Heikki Krogerus <heikki.krogerus@nokia.com>
Tested-by: Grazvydas Ignotas <notasas@gmail.com>
Signed-off-by: Anton Vorontsov <cbouatmailru@gmail.com>
drivers/power/twl4030_charger.c