Re: [PATCH] iio: buffer: Silence lock nesting splat
From: Vincent Whitchurch
Date: Tue Aug 23 2022 - 04:22:30 EST
On Sat, Aug 20, 2022 at 01:08:00PM +0200, Jonathan Cameron wrote:
> On Fri, 19 Aug 2022 11:03:55 +0300
> Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote:
> > On top of that, Fixes tag?
> It's going to be tricky to identify - the interface predates usecases that were IIO
> drivers by a long way. I guess introduction of first IIO driver that used
> a callback buffer? No idea which one that was :(
AFAICS there's only one IIO driver upstream using a callback buffer, and
it's lmp91000, so I can point the fixes tag to the patch which added
that.
By the way, note that lmp91000 actually fails to probe in mainline
without extra patches, and it seems to have been that way for a while
now. I noticed this lockdep splat when working on a new driver which
also uses a callback buffer. I can post the fixes I used to get
lmp91000 to probe successfully (in roadtest) separately.