lkml.org 
[lkml]   [2011]   [Sep]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subjectregmap module_put usage.
Hi Mark,

I'm playing around with converting an IIO driver over to regmap
(to get a feel for when it makes sense and when it doesn't).

Right now, calling regmap_exit() results in a module_put of the
regmap-spi module which never has a module_get and hence it's
module use count wraps around and all hell breaks loose?

Am I missing something about where that get should occur?

It's entirely plausible I just have a local bug but I right
now I can't see how the logic is supposed to function!

Thanks,

Jonathan


\
 
 \ /
  Last update: 2011-09-05 14:49    [W:2.262 / U:0.172 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site