]> git.baikalelectronics.ru Git - kernel.git/commit
gpu: host1x: mipi: Registers are 32 bits wide
authorThierry Reding <treding@nvidia.com>
Thu, 2 Oct 2014 12:33:31 +0000 (14:33 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 13 Nov 2014 15:11:48 +0000 (16:11 +0100)
commit868dfc892313acd07529d5bfd0f5b7c813ebd22d
tree8bd069766e5844210032d1c1f1cbd947a5fe6a5d
parente8d5d503ad5f52af83528dd9798cbd2fd9e80d4c
gpu: host1x: mipi: Registers are 32 bits wide

On 64-bit platforms an unsigned long would be 64 bit and cause
unnecessary casting when being passed to writel() or returned from
readl(). Make register values 32 bits wide to avoid that.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/mipi.c