Re: [PATCH] iio: fix sched WARNING "do not call blocking ops when !TASK_RUNNING"
From: Brian Norris
Date: Mon Aug 08 2016 - 18:23:29 EST
Hi Lars,
On Thu, Aug 04, 2016 at 12:21:08PM +0200, Lars-Peter Clausen wrote:
> And then also drop the if (!indio_dev->info) at the beginning of the function.
I was poking through the usage of this ->info field, and it looks like
it's supposed to be protected by the 'info_exist_lock' lock, but that's
not being acquired here and in at least one other location. Is this
another bug?
Brian