Skip to content

Commit 4f2ec71

Browse files
committed
fixup! media: apple: isp: Parse firmware version from device tree
Signed-off-by: Hector Martin <[email protected]>
1 parent bf894fa commit 4f2ec71

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -262,7 +262,7 @@ int isp_cmd_ch_buffer_return(struct apple_isp *isp, u32 chan)
262262
int isp_cmd_ch_set_file_load(struct apple_isp *isp, u32 chan, u64 addr,
263263
u32 size)
264264
{
265-
if (isp->hw->gen >= ISP_GEN_T8112 && isp->fw_compat != ISP_FIRMWARE_V_12_4 ) {
265+
if (isp->fw_compat >= ISP_FIRMWARE_V_13_5) {
266266
struct cmd_ch_set_file_load64 args = {
267267
.opcode = CISP_OPCODE(CISP_CMD_CH_SET_FILE_LOAD),
268268
.chan = chan,

0 commit comments

Comments
 (0)