msdbg_hw(2, "shot: mcsc_out_st[0x%lx]\n", instance, hw_ip,
mcsc_out_st);
+ hw_mcsc->instance = instance;
clear_bit(MCSC_RST_CHK, &mcsc_out_st);
set_bit(HW_CONFIG, &hw_ip->state);
control_cmd = true;
msdbg_hw(2, "update_param: hw_ip->instance(%d), control_cmd(%d)\n",
instance, hw_ip, hw_mcsc->instance, control_cmd);
- hw_mcsc->instance = instance;
}
if (control_cmd || (lindex & LOWBIT_OF(PARAM_MCS_INPUT))
* 2. head group shot count is "0"(first shot)
* 3. tdnr wdma size changed
* 4. tdnr wdma dma out disabled
- * 5. setfile tuneset changed(TODO)
+ * 5. instance is changed
+ * 6. setfile tuneset changed(TODO)
*/
if ((cur_mode == TDNR_MODE_BYPASS)
|| (!atomic_read(&head->scount))
|| (lindex & LOWBIT_OF(PARAM_MCS_INPUT))
- || (hindex & HIGHBIT_OF(PARAM_MCS_INPUT)))
+ || (hindex & HIGHBIT_OF(PARAM_MCS_INPUT))
+ || (atomic_read(&hw_ip->instance) != hw_mcsc->instance))
tdnr_mode = TDNR_MODE_2DNR; /* first frame */
else
/* set to 3DNR mode */