Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

mtd: rawnand: gpmi: 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 <sakari.ailus@linux.intel.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>

authored by

Sakari Ailus and committed by
Miquel Raynal
2052c1e5 bf425fa1

-3
-3
drivers/mtd/nand/raw/gpmi-nand/gpmi-nand.c
··· 191 191 r->gpmi_regs + HW_GPMI_CTRL1_SET); 192 192 193 193 err_out: 194 - pm_runtime_mark_last_busy(this->dev); 195 194 pm_runtime_put_autosuspend(this->dev); 196 195 return ret; 197 196 } ··· 760 761 761 762 ret = 0; 762 763 err_out: 763 - pm_runtime_mark_last_busy(this->dev); 764 764 pm_runtime_put_autosuspend(this->dev); 765 765 766 766 return ret; ··· 2665 2667 this->bch = false; 2666 2668 2667 2669 out_pm: 2668 - pm_runtime_mark_last_busy(this->dev); 2669 2670 pm_runtime_put_autosuspend(this->dev); 2670 2671 2671 2672 return ret;