https://bugzilla.kernel.org/show_bug.cgi?id=205277
stefanspr94@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |stefanspr94@gmail.com
--- Comment #4 from stefanspr94@gmail.com --- (In reply to haro41 from comment #3)
Did you debug this issue? I think the problem could be outside this code.
I would outcomment the if-statement following for-loop in your proposed patch, because otherwise 'i' points outside the array boundarys here.
I think the if statement is fine as both od_vddc_lookup_table->entries[] and podn_vdd_dep->entries[] both hold MAX_REGULAR_DPM_NUMBER members, which is 8, so accessing entries[7] is not out of bounds.
Btw, the patch works for me aswell. Card behaves as it should after loading my pp_table, which was not the case before.