Re: [PATCHv2] bq2415x_charger: Fix Atomic Sleep Bug

2014-03-22 Thread Sebastian Reichel
Hi, On Mon, Feb 24, 2014 at 10:43:17PM +0100, Sebastian Reichel wrote: > Move sysfs_notify and i2c_transfer calls from bq2415x_notifier_call > to bq2415x_timer_work to avoid sleeping in atomic context. > > This fixes the following bug: > > [ 7.667449] Workqueue: events power_supply_changed_work

Re: [PATCHv2] bq2415x_charger: Fix Atomic Sleep Bug

2014-03-05 Thread Sebastian Reichel
Hi Dmitry, On Mon, Feb 24, 2014 at 10:43:17PM +0100, Sebastian Reichel wrote: > Move sysfs_notify and i2c_transfer calls from bq2415x_notifier_call > to bq2415x_timer_work to avoid sleeping in atomic context. > > This fixes the following bug: > > [ 7.667449] Workqueue: events power_supply_change