]> git.baikalelectronics.ru Git - kernel.git/commit
drm/msm/hdmi: use dynamic allocation for hdmi resources
authorStephane Viau <sviau@codeaurora.org>
Tue, 13 Jan 2015 19:33:40 +0000 (14:33 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 1 Feb 2015 20:32:45 +0000 (15:32 -0500)
commit9045a764c8d4ca4efba8cbd581ac4ecdd458dfeb
tree9b617a032cfb35165ed8db1baaaaeec4cadcf9ff
parent9b70c873c7ae02b4c7894a66ad8e9d4e5030eeba
drm/msm/hdmi: use dynamic allocation for hdmi resources

Instead of reporting BUG_ON when resources arrays are not
dimensioned correctly, this patch does a dynamic allocation of
these arrays. This is needed for the following patches that add a
regulator for a new target.

Signed-off-by: Stephane Viau <sviau@codeaurora.org>
Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi.c
drivers/gpu/drm/msm/hdmi/hdmi.h