Re: [RFC] fix asus_hides_smbus_lpc_ich6() for resume

Rafael J. Wysocki
2008-03-14T14:35:35Z

On Friday, 14 of March 2008, Matthew Wilcox wrote:
> On Thu, Mar 13, 2008 at 09:44:08PM -0700, Greg KH wrote:
> > And why "_later"? What's wrong with the normal resume time?
>
> He said:
> > asus_hides_smbus_lpc_ich6() is called with interrupt disabled in resume
> > time, but ioremap_nocache() and iounmap() can't be called with interrupt
> > disabled. Below is my debug fix. If you have better fix, please speak.
>
> Maybe _resume is run too early and could be run later when interrupts
> are enabled?

That's what Shaohua is trying to achieve, AFAICS.