Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2cf1b00c authored by Jigarkumar Zala's avatar Jigarkumar Zala
Browse files

msm: camera: flash: add support to nop packets for flash module



Remove error check in order to perform nop apply packet request
from request manager.

Change-Id: Ief431093357e925c1ae2dd65d096a82f206340b9
Signed-off-by: default avatarJigarkumar Zala <jzala@codeaurora.org>
parent 8a58c68a
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
@@ -374,10 +374,8 @@ int cam_flash_apply_setting(struct cam_flash_ctrl *fctrl,
				}
			}
		} else {
			CAM_ERR(CAM_FLASH, "Wrong opcode : %d",
				flash_data->opcode);
			rc = -EINVAL;
			goto apply_setting_err;
			CAM_DBG(CAM_FLASH, "NOP opcode");
			return rc;
		}
	}