Skip to content

Commit

Permalink
fixup! media: apple: isp: Support system sleep
Browse files Browse the repository at this point in the history
Signed-off-by: Janne Grunau <j@jannau.net>
  • Loading branch information
jannau committed Mar 11, 2024
1 parent d89e595 commit 9fb4924
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/media/platform/apple/isp/isp-fw.c
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@ static inline void isp_gpio_write32(struct apple_isp *isp, u32 reg, u32 val)
writel(val, isp->gpio + reg);
}

int apple_isp_power_up_domains(struct apple_isp *isp)
static int apple_isp_power_up_domains(struct apple_isp *isp)
{
int ret;

if (isp->pds_active)
Expand All @@ -65,8 +65,8 @@ static int apple_isp_power_up_domains(struct apple_isp *isp)
return 0;
}

void apple_isp_power_down_domains(struct apple_isp *isp)
static void apple_isp_power_down_domains(struct apple_isp *isp)
{
int ret;

if (!isp->pds_active)
Expand Down Expand Up @@ -270,7 +270,7 @@ static void isp_firmware_shutdown_stage1(struct apple_isp *isp)
static int isp_firmware_boot_stage1(struct apple_isp *isp)
{
int err, retries;
u32 val;
// u32 val;

err = apple_isp_power_up_domains(isp);
if (err < 0)
Expand Down

0 comments on commit 9fb4924

Please sign in to comment.