aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorLokesh Vutla <[email protected]>2016-01-28 13:38:51 +0000
committerLinus Walleij <[email protected]>2016-02-10 10:00:49 +0000
commit6ec9249a83b00a754af435ed57ad02ffed105d93 (patch)
treed82cb88cd586ea1dc5e2a8a09c3237295edcbdc9 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parentgpio: davinci: Add the missing of-node pointer (diff)
downloadkernel-6ec9249a83b00a754af435ed57ad02ffed105d93.tar.gz
kernel-6ec9249a83b00a754af435ed57ad02ffed105d93.zip
gpio: davinci: Fix the number of controllers allocated
Driver only needs to allocate for [ngpio / 32] controllers, as each controller handles 32 gpios. But the current driver allocates for ngpio of which the extra allocated are unused. Fix it be registering only the required number of controllers. Signed-off-by: Lokesh Vutla <[email protected]> Signed-off-by: Keerthy <[email protected]> Reviewed-by: Grygorii Strashko <[email protected]> Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions