summaryrefslogtreecommitdiff
path: root/drivers/tc
diff options
context:
space:
mode:
authorStephane Viau <sviau@codeaurora.org>2015-04-30 13:45:52 -0400
committerRob Clark <robdclark@gmail.com>2015-05-14 11:29:20 -0400
commitfe34464df5e8bd4b09db170477f32db4eade0444 (patch)
treedc2fd1c3722d63aeb84ca336f3830cbe4a348bc5 /drivers/tc
parent651ad3f52b9d0b11b8ebe94c3810ac89f9f75653 (diff)
drm/msm/mdp5: Fix iteration on INTF config array
The current iteration in get_dsi_id_from_intf() is wrong: instead of iterating until hw_cfg->intf.count, we need to iterate until MDP5_INTF_NUM_MAX here. Let's take the example of msm8x16: hw_cfg->intf.count = 1 intfs[0] = INTF_Disabled intfs[1] = INTF_DSI If we stop iterating once i reaches hw_cfg->intf.count (== 1), we will miss the test for intfs[1]. Actually, this hw_cfg->intf.count entry is quite confusing and is not (or *should not be*) used anywhere else; let's remove it. Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Diffstat (limited to 'drivers/tc')
0 files changed, 0 insertions, 0 deletions