提交 ebe69dd3 编写于 作者: C Chris Wilson

drm/i915: Fix inconsistent indenting in vbt_panel_init()

smatch complains:
	drivers/gpu/drm/i915/intel_dsi_panel_vbt.c:657 vbt_panel_init() warn:
	inconsistent indenting
Signed-off-by: NChris Wilson <chris@chris-wilson.co.uk>
Link: http://patchwork.freedesktop.org/patch/msgid/1467470166-31717-6-git-send-email-chris@chris-wilson.co.ukReviewed-by: NMatthew Auld <matthew.auld@intel.com>
上级 86f40bb6
...@@ -649,14 +649,13 @@ struct drm_panel *vbt_panel_init(struct intel_dsi *intel_dsi, u16 panel_id) ...@@ -649,14 +649,13 @@ struct drm_panel *vbt_panel_init(struct intel_dsi *intel_dsi, u16 panel_id)
); );
/* /*
* Exit zero is unified val ths_zero and ths_exit * Exit zero is unified val ths_zero and ths_exit
* minimum value for ths_exit = 110ns * minimum value for ths_exit = 110ns
* min (exit_zero_cnt * 2) = 110/UI * min (exit_zero_cnt * 2) = 110/UI
* exit_zero_cnt = 55/UI * exit_zero_cnt = 55/UI
*/ */
if (exit_zero_cnt < (55 * ui_den / ui_num)) if (exit_zero_cnt < (55 * ui_den / ui_num) && (55 * ui_den) % ui_num)
if ((55 * ui_den) % ui_num) exit_zero_cnt += 1;
exit_zero_cnt += 1;
/* clk zero count */ /* clk zero count */
clk_zero_cnt = DIV_ROUND_UP( clk_zero_cnt = DIV_ROUND_UP(
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册