RE: [PATCH v3] brcmfmac: avoid duplicated suspend/resume operation

From: David Laight
Date: Mon Feb 16 2015 - 04:51:17 EST


> > WiFi chip has 2 SDIO functions, and PM core will trigger
> > twice suspend/resume operations for one WiFi chip to do
> > the same things. This patch avoid this case.

Do you want to suspend on the first or last request?

In general it might be that one function is in use and
something wants to suspend the other (as inactive).

If they suspend together you might need to pretend the
first function is suspended but only do the real power-saving
device suspend when all the functions have been suspended.

David