OSDN Git Service

drm/tegra: dc: Check for valid parent clock
authorThierry Reding <treding@nvidia.com>
Thu, 22 Jan 2015 07:48:25 +0000 (08:48 +0100)
committerThierry Reding <treding@nvidia.com>
Thu, 2 Apr 2015 16:46:13 +0000 (18:46 +0200)
commitd29827484b9cf6026506a0e376fb5d246580ffd8
tree04f12510e76ccb3a0270903d9c0721988c0ada1d
parent13a7a6ac0a11197edcd0f756a035f472b42cdf8b
drm/tegra: dc: Check for valid parent clock

Check that the desired parent clock is indeed a valid parent for the
display controller clock. This is purely cosmetic at this point since
the parent clocks are specified in DT and all the currently defined
parents are in fact valid parents of the display controller clock.

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/drm/tegra/dc.c