disp: msm: avoid miscalculation in dsi debug bus dump size

Fix dsi count calculation which is used in determining size of
the memory allocated for dsi debug bus dump of all dsi controllers.

Change-Id: I22462eff41ebafde787a6cf4c1751104846bc6a5
Signed-off-by: Prabhanjan Kandula <pkandula@codeaurora.org>
Šī revīzija ir iekļauta:
Prabhanjan Kandula
2021-06-18 16:10:22 -07:00
vecāks 036bf2584c
revīzija 5fbf873b7b

Parādīt failu

@@ -925,7 +925,8 @@ static void _sde_dbg_dump_dsi_dbg_bus(struct sde_dbg_sde_debug_bus *bus, u32 ena
struct sde_dbg_dsi_ctrl_list_entry *ctl_entry;
struct list_head *list;
int list_size = 0;
bool in_mem, in_log, i, dsi_count = 0;
bool in_mem, in_log;
u32 i, dsi_count = 0;
u32 **dump_mem = NULL;
u32 *dump_addr = NULL;
struct sde_debug_bus_entry *entries;