Skip to content

Commit

Permalink
media: exynos4-is: remove a now unused integer
Browse files Browse the repository at this point in the history
commit 29dd19e upstream.

The usage of pm_runtime_resume_and_get() removed the need of a
temporary integer. So, drop it.

Fixes: 59f9624 ("media: exynos4-is: fix pm_runtime_get_sync() usage count")
Reported-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
  • Loading branch information
Mauro Carvalho Chehab authored and Greg Kroah-Hartman committed Jul 14, 2021
1 parent 2b58f51 commit 2b541b6
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/media/platform/exynos4-is/media-dev.c
Original file line number Diff line number Diff line change
Expand Up @@ -1280,7 +1280,6 @@ static DEVICE_ATTR(subdev_conf_mode, S_IWUSR | S_IRUGO,
static int cam_clk_prepare(struct clk_hw *hw)
{
struct cam_clk *camclk = to_cam_clk(hw);
int ret;

if (camclk->fmd->pmf == NULL)
return -ENODEV;
Expand Down

0 comments on commit 2b541b6

Please sign in to comment.