OMAP HS-MMC: convert to dev_pm_ops broke hibernation
Hi,
commit a791daa15305e7e549a418ef0ae6bc4b4580066e converted PM operations to use dev_pm_ops. But this broke hibernation/suspend to disk :
- now there no state argument
- but there is one call back per state :
-- suspend/resume for s2ram
-- freeze/thaw poweroff/restore for s2disk
look like most of the mmc driver using dev_pm_ops got the same problem (only jz4740_mmc define poweroff/restore)
Matthieu