forked from ~ljy/RK356X_SDK_RELEASE

hc
2023-12-06 08f87f769b595151be1afeff53e144f543faa614
kernel/drivers/gpu/drm/sun4i/sun4i_hdmi_tmds_clk.c
....@@ -1,16 +1,13 @@
1
+// SPDX-License-Identifier: GPL-2.0-or-later
12 /*
23 * Copyright (C) 2016 Free Electrons
34 * Copyright (C) 2016 NextThing Co
45 *
56 * Maxime Ripard <maxime.ripard@free-electrons.com>
6
- *
7
- * This program is free software; you can redistribute it and/or
8
- * modify it under the terms of the GNU General Public License as
9
- * published by the Free Software Foundation; either version 2 of
10
- * the License, or (at your option) any later version.
117 */
128
139 #include <linux/clk-provider.h>
10
+#include <linux/io.h>
1411
1512 #include "sun4i_hdmi.h"
1613
....@@ -35,7 +32,7 @@
3532 {
3633 unsigned long best_rate = 0;
3734 u8 best_m = 0, m;
38
- bool is_double;
35
+ bool is_double = false;
3936
4037 for (m = div_offset ?: 1; m < (16 + div_offset); m++) {
4138 u8 d;