phy: motorola: phy-mapphone-mdm6600: Remove redundant pm_runtime_mark_last_busy() calls
PATCH RESEND 1/2 phy: motorola: phy-mapphone-mdm6600: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy().
Signed-off-by Sakari Ailus <[email protected]>
--- drivers/phy/motorola/phy-mapphone-mdm6600.c | 2 -- 1 file changed, 2 deletions(-)
drivers/phy/motorola/phy-mapphone-mdm6600.c +0 -2
@@ -248,7 +248,6 @@ static irqreturn_t phy_mdm6600_wakeirq_thread(int irq, void *data) }/* Just wake-up and kick the autosuspend timer */ -pm_runtime_mark_last_busy (ddata->dev);pm_runtime_put_autosuspend (ddata->dev);return IRQ_HANDLED ;
@@ -616,7 +615,6 @@ static int phy_mdm6600_probe(struct platform_device *pdev) error =PTR_ERR (ddata->phy_provider); idle: -pm_runtime_mark_last_busy (ddata->dev);pm_runtime_put_autosuspend (ddata->dev); cleanup:
Signature · 7 lines
2.47.3 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy
PATCH RESEND 2/2 phy: ti: phy-twl4030-usb: Remove redundant pm_runtime_mark_last_busy() calls
pm_runtime_put_autosuspend(), pm_runtime_put_sync_autosuspend(), pm_runtime_autosuspend() and pm_request_autosuspend() now include a call to pm_runtime_mark_last_busy(). Remove the now-reduntant explicit call to pm_runtime_mark_last_busy().
Signed-off-by Sakari Ailus <[email protected]>
--- drivers/phy/ti/phy-twl4030-usb.c | 3 --- 1 file changed, 3 deletions(-)
drivers/phy/ti/phy-twl4030-usb.c +0 -3
@@ -505,7 +505,6 @@ static int twl4030_phy_power_on(struct phy *phy)dev_dbg (twl->dev,"%s\n" , __func__);pm_runtime_get_sync (twl->dev);schedule_delayed_work (&twl->id_workaround_work,HZ ); -pm_runtime_mark_last_busy (twl->dev);pm_runtime_put_autosuspend (twl->dev);return 0 ;
@@ -598,7 +597,6 @@ static irqreturn_t twl4030_usb_irq(int irq, void *_twl)if (atomic_add_unless (&twl->connected,-1 ,0 )) {dev_dbg (twl->dev,"%s: cable disconnected %i\n" , __func__, status); -pm_runtime_mark_last_busy (twl->dev);pm_runtime_put_autosuspend (twl->dev); twl->musb_mailbox_pending = true; }
@@ -636,7 +634,6 @@ static int twl4030_phy_init(struct phy *phy)pm_runtime_get_sync (twl->dev); twl->linkstat =MUSB_UNKNOWN ;schedule_delayed_work (&twl->id_workaround_work,HZ ); -pm_runtime_mark_last_busy (twl->dev);pm_runtime_put_autosuspend (twl->dev);return 0 ;
Signature · 7 lines
2.47.3 -- linux-phy mailing list [email protected] https://lists.infradead.org/mailman/listinfo/linux-phy