aboutsummaryrefslogtreecommitdiff
path: root/drivers/video
diff options
context:
space:
mode:
authorWolfgang Denk <wd@denx.de>2021-09-27 17:42:38 +0200
committerTom Rini <trini@konsulko.com>2021-09-30 08:08:56 -0400
commit0a50b3c97b3408e52589d873d4c7b54ad365a76c (patch)
tree6b66bfba9e5bf9c1be213f80cb2cc402578d0318 /drivers/video
parentc72231d2729cea8b683ef05d94c986ced36755b3 (diff)
downloadu-boot-0a50b3c97b3408e52589d873d4c7b54ad365a76c.zip
u-boot-0a50b3c97b3408e52589d873d4c7b54ad365a76c.tar.gz
u-boot-0a50b3c97b3408e52589d873d4c7b54ad365a76c.tar.bz2
WS cleanup: remove trailing white space
Signed-off-by: Wolfgang Denk <wd@denx.de> Reviewed-by: Simon Glass <sjg@chromium.org>
Diffstat (limited to 'drivers/video')
-rw-r--r--drivers/video/anx9804.c10
-rw-r--r--drivers/video/tdo-tl070wsh30.c2
2 files changed, 6 insertions, 6 deletions
diff --git a/drivers/video/anx9804.c b/drivers/video/anx9804.c
index b050c42..3037ff3 100644
--- a/drivers/video/anx9804.c
+++ b/drivers/video/anx9804.c
@@ -67,11 +67,11 @@ void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp)
printf("Error anx9804 clock is not stable\n");
i2c_reg_write(0x39, ANX9804_VID_CTRL2_REG, colordepth);
-
+
/* Set a bunch of analog related register values */
- i2c_reg_write(0x38, ANX9804_PLL_CTRL_REG, 0x07);
- i2c_reg_write(0x39, ANX9804_PLL_FILTER_CTRL3, 0x19);
- i2c_reg_write(0x39, ANX9804_PLL_CTRL3, 0xd9);
+ i2c_reg_write(0x38, ANX9804_PLL_CTRL_REG, 0x07);
+ i2c_reg_write(0x39, ANX9804_PLL_FILTER_CTRL3, 0x19);
+ i2c_reg_write(0x39, ANX9804_PLL_CTRL3, 0xd9);
i2c_reg_write(0x39, ANX9804_RST_CTRL2_REG, ANX9804_RST_CTRL2_AC_MODE);
i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG1, 0xf0);
i2c_reg_write(0x39, ANX9804_ANALOG_DEBUG_REG3, 0x99);
@@ -105,7 +105,7 @@ void anx9804_init(unsigned int i2c_bus, u8 lanes, u8 data_rate, int bpp)
i2c_reg_write(0x38, ANX9804_LINK_BW_SET_REG, data_rate);
i2c_reg_write(0x38, ANX9804_LANE_COUNT_SET_REG, lanes);
- /* Link training */
+ /* Link training */
i2c_reg_write(0x38, ANX9804_LINK_TRAINING_CTRL_REG,
ANX9804_LINK_TRAINING_CTRL_EN);
mdelay(5);
diff --git a/drivers/video/tdo-tl070wsh30.c b/drivers/video/tdo-tl070wsh30.c
index 813b87a..7ad0af7 100644
--- a/drivers/video/tdo-tl070wsh30.c
+++ b/drivers/video/tdo-tl070wsh30.c
@@ -118,7 +118,7 @@ static int tl070wsh30_panel_probe(struct udevice *dev)
/* reset panel */
dm_gpio_set_value(&priv->reset, true);
-
+
mdelay(10);
dm_gpio_set_value(&priv->reset, false);