diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-11-08 23:34:12 -0500 |
---|---|---|
committer | Florian Tobias Schandinat <FlorianSchandinat@gmx.de> | 2011-11-21 18:43:20 -0500 |
commit | 3c2a659936ba1e3bbd7e5eca89255c134fafb506 (patch) | |
tree | 60074eee82ecd85eb36729c9b8cb7a9e05db1879 /drivers/video/sh_mipi_dsi.c | |
parent | 32ba95c69f33126e297466dc706db73cc7e7a543 (diff) |
fbdev: sh_mipi_dsi: tidyup VMCTR2 parameter expression
VMCTR2 parameter will be supported more in the future.
1 << xx style is easy to understand.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Florian Tobias Schandinat <FlorianSchandinat@gmx.de>
Diffstat (limited to 'drivers/video/sh_mipi_dsi.c')
-rw-r--r-- | drivers/video/sh_mipi_dsi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/video/sh_mipi_dsi.c b/drivers/video/sh_mipi_dsi.c index 94bb1bb54a02..20ccc23699fe 100644 --- a/drivers/video/sh_mipi_dsi.c +++ b/drivers/video/sh_mipi_dsi.c | |||
@@ -317,9 +317,9 @@ static int __init sh_mipi_setup(struct sh_mipi *mipi, | |||
317 | * HSA period allowed, no commands in LP | 317 | * HSA period allowed, no commands in LP |
318 | */ | 318 | */ |
319 | if (pdata->flags & SH_MIPI_DSI_HSABM) | 319 | if (pdata->flags & SH_MIPI_DSI_HSABM) |
320 | vmctr2 |= 0x20; | 320 | vmctr2 |= 1 << 5; |
321 | if (pdata->flags & SH_MIPI_DSI_HBPBM) | 321 | if (pdata->flags & SH_MIPI_DSI_HBPBM) |
322 | vmctr2 |= 0x10; | 322 | vmctr2 |= 1 << 4; |
323 | iowrite32(vmctr2, mipi->linkbase + VMCTR2); | 323 | iowrite32(vmctr2, mipi->linkbase + VMCTR2); |
324 | 324 | ||
325 | /* | 325 | /* |