Loading drivers/soc/qcom/jtagv8-etm.c +4 −4 Original line number Diff line number Diff line Loading @@ -1414,10 +1414,10 @@ void msm_jtag_etm_save_state(void) cpu = raw_smp_processor_id(); if (etm[cpu]->save_restore_disabled) if (!etm[cpu] || etm[cpu]->save_restore_disabled) return; if (etm[cpu] && etm[cpu]->save_restore_enabled) { if (etm[cpu]->save_restore_enabled) { if (etm[cpu]->si_enable) etm_si_save_state(etm[cpu]); else Loading @@ -1432,14 +1432,14 @@ void msm_jtag_etm_restore_state(void) cpu = raw_smp_processor_id(); if (etm[cpu]->save_restore_disabled) if (!etm[cpu] || etm[cpu]->save_restore_disabled) return; /* * Check to ensure we attempt to restore only when save * has been done is accomplished by callee function. */ if (etm[cpu] && etm[cpu]->save_restore_enabled) { if (etm[cpu]->save_restore_enabled) { if (etm[cpu]->si_enable) etm_si_restore_state(etm[cpu]); else Loading Loading
drivers/soc/qcom/jtagv8-etm.c +4 −4 Original line number Diff line number Diff line Loading @@ -1414,10 +1414,10 @@ void msm_jtag_etm_save_state(void) cpu = raw_smp_processor_id(); if (etm[cpu]->save_restore_disabled) if (!etm[cpu] || etm[cpu]->save_restore_disabled) return; if (etm[cpu] && etm[cpu]->save_restore_enabled) { if (etm[cpu]->save_restore_enabled) { if (etm[cpu]->si_enable) etm_si_save_state(etm[cpu]); else Loading @@ -1432,14 +1432,14 @@ void msm_jtag_etm_restore_state(void) cpu = raw_smp_processor_id(); if (etm[cpu]->save_restore_disabled) if (!etm[cpu] || etm[cpu]->save_restore_disabled) return; /* * Check to ensure we attempt to restore only when save * has been done is accomplished by callee function. */ if (etm[cpu] && etm[cpu]->save_restore_enabled) { if (etm[cpu]->save_restore_enabled) { if (etm[cpu]->si_enable) etm_si_restore_state(etm[cpu]); else Loading