PM / Domains: Allow holes in genpd_data.domains array
In platforms such as Rockchip's, the array of domains isn't always filled without holes, as which domains are present depend on the particular SoC revision. By allowing holes to be in the array, such SoCs can still use a single set of constants to index the array of power domains. Fixes: 0159ec67 (PM / Domains: Verify the PM domain is present when adding a provider) Signed-off-by: NTomeu Vizoso <tomeu.vizoso@collabora.com> Acked-by: NJon Hunter <jonathanh@nvidia.com> Acked-by: NUlf Hansson <ulf.hansson@linaro.org> Reviewed-by: NHeiko Stuebner <heiko@sntech.de> Tested-by: NHeiko Stuebner <heiko@sntech.de> Acked-by: NKevin Hilman <khilman@baylibre.com> Signed-off-by: NRafael J. Wysocki <rafael.j.wysocki@intel.com>
Showing
想要评论请 注册 或 登录