diff options
| author | Benjamin Mugnier <benjamin.mugnier@foss.st.com> | 2026-06-29 12:51:47 +0200 |
|---|---|---|
| committer | Sakari Ailus <sakari.ailus@linux.intel.com> | 2026-07-15 11:13:57 +0300 |
| commit | 3e275097e206a67f2b691c8167313871ee421cd7 (patch) | |
| tree | 61cc2b1f07e3cae8e77012408d3e5e1b1d962f47 /tools/perf/scripts/python/stackcollapse.py | |
| parent | e4a4f2e3b9bc65e0b82ae8c3a2945955870df36f (diff) | |
media: i2c: vd55g1: Remove spurious pad format update on init_state()
vd55g1_update_pad_fmt() is called in vd55g1_init_state(). But
vd55g1_set_pad_fmt(), called at the end of vd55g1_init_state(), also
calls vd55g1_update_pad_fmt() itself.
Enhance readability and clear confusion by only preparing the format in
vd55g1_init_state() and let vd55g1_set_pad_fmt() update it instead,
effectively calling it only 1 time instead of 2.
Reviewed-by: Jacopo Mondi <jacopo.mondi@ideasonboard.com>
Signed-off-by: Benjamin Mugnier <benjamin.mugnier@foss.st.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
