Skip to content

Commit 6666387

Browse files
committed
fixup! media: apple: isp: Support system sleep
Signed-off-by: Janne Grunau <[email protected]>
1 parent 8e6fc40 commit 6666387

File tree

1 file changed

+3
-3
lines changed
  • drivers/media/platform/apple/isp

1 file changed

+3
-3
lines changed

drivers/media/platform/apple/isp/isp-fw.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ static inline void isp_gpio_write32(struct apple_isp *isp, u32 reg, u32 val)
4242
writel(val, isp->gpio + reg);
4343
}
4444

45-
int apple_isp_power_up_domains(struct apple_isp *isp)
4645
static int apple_isp_power_up_domains(struct apple_isp *isp)
46+
{
4747
int ret;
4848

4949
if (isp->pds_active)
@@ -65,8 +65,8 @@ static int apple_isp_power_up_domains(struct apple_isp *isp)
6565
return 0;
6666
}
6767

68-
void apple_isp_power_down_domains(struct apple_isp *isp)
6968
static void apple_isp_power_down_domains(struct apple_isp *isp)
69+
{
7070
int ret;
7171

7272
if (!isp->pds_active)
@@ -270,7 +270,7 @@ static void isp_firmware_shutdown_stage1(struct apple_isp *isp)
270270
static int isp_firmware_boot_stage1(struct apple_isp *isp)
271271
{
272272
int err, retries;
273-
u32 val;
273+
// u32 val;
274274

275275
err = apple_isp_power_up_domains(isp);
276276
if (err < 0)

0 commit comments

Comments
 (0)