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-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

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

[PATCHv2] bq2415x_charger: Fix Atomic Sleep Bug

2014-02-24 Thread Sebastian Reichel
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 [ 7.673034] [] (unwind_backtrace+0x0/0xe0) from [] (show_stack+0x10/0x14) [

[PATCHv2] bq2415x_charger: Fix Atomic Sleep Bug

2014-02-24 Thread Sebastian Reichel
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 [ 7.673034] [c0015c28] (unwind_backtrace+0x0/0xe0) from [c0011e1c]