Skip to content

Commit a05b0e1

Browse files
eilnjannau
authored andcommitted
media: apple: isp: wmb() before GPIO write
Signed-off-by: Eileen Yoon <eyn@gmx.com>
1 parent 356d5a3 commit a05b0e1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • drivers/media/platform/apple/isp

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,7 @@ static int isp_firmware_boot_stage2(struct apple_isp *isp)
278278

279279
isp_gpio_write32(isp, ISP_GPIO_0, args_iova);
280280
isp_gpio_write32(isp, ISP_GPIO_1, 0x0);
281+
wmb();
281282

282283
/* Wait for ISP_GPIO_7 to 0xf7fbdff9 -> 0x8042006 */
283284
isp_gpio_write32(isp, ISP_GPIO_7, 0xf7fbdff9);

0 commit comments

Comments
 (0)