Skip to content

Commit a385225

Browse files
hoshinolinajannau
authored andcommitted
media: apple: isp: Propagate EINTR from firmware loads
Signed-off-by: Asahi Lina <lina@asahilina.net>
1 parent ffe1972 commit a385225

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -340,6 +340,10 @@ static int isp_ch_configure_capture(struct apple_isp *isp, u32 ch)
340340
if (err) {
341341
dev_err(isp->dev, "warning: calibration data not loaded: %d\n",
342342
err);
343+
344+
/* If this failed due to a signal, propagate */
345+
if (err == -EINTR)
346+
return err;
343347
}
344348

345349
if (isp->hw->gen >= ISP_GEN_T8112) {

0 commit comments

Comments
 (0)