diff options
-rw-r--r-- | arch/arm/plat-omap/omap_device.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/arch/arm/plat-omap/omap_device.c b/arch/arm/plat-omap/omap_device.c index 1d1b5ff78306..150112e3ffc8 100644 --- a/arch/arm/plat-omap/omap_device.c +++ b/arch/arm/plat-omap/omap_device.c | |||
@@ -756,6 +756,10 @@ static int _od_suspend_noirq(struct device *dev) | |||
756 | struct omap_device *od = to_omap_device(pdev); | 756 | struct omap_device *od = to_omap_device(pdev); |
757 | int ret; | 757 | int ret; |
758 | 758 | ||
759 | /* Don't attempt late suspend on a driver that is not bound */ | ||
760 | if (od->_driver_status != BUS_NOTIFY_BOUND_DRIVER) | ||
761 | return 0; | ||
762 | |||
759 | ret = pm_generic_suspend_noirq(dev); | 763 | ret = pm_generic_suspend_noirq(dev); |
760 | 764 | ||
761 | if (!ret && !pm_runtime_status_suspended(dev)) { | 765 | if (!ret && !pm_runtime_status_suspended(dev)) { |