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)
commit447fa5292fcf09197cf2ce124e8e0ff6c629733a
tree9b617a032cfb35165ed8db1baaaaeec4cadcf9ff
parent5cdde29bc93a1f4d4a4f5a6faa830e368d920280
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