Re: [PATCH 1/3] PM / Domains: Allow overriding the ->xlate() callback

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 14/03/17 19:15, Thierry Reding wrote:
> From: Thierry Reding <treding@xxxxxxxxxx>
> 
> Allow generic power domain providers to override the ->xlate() callback
> in case the default genpd_xlate_onecell() translation callback is not
> good enough.
> 
> One potential use-case for this is to allow generic power domains to be
> specified by an ID rather than an index.

Are you sure this is necessary, because I recall that the genpd core
does allow for holes in the domain array (which is what we have). See
commit 609bed67bd8f ('PM / Domains: Allow holes in genpd_data.domains
array').

Cheers
Jon

-- 
nvpublic
--
To unsubscribe from this list: send the line "unsubscribe linux-tegra" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [ARM Kernel]     [Linux ARM]     [Linux ARM MSM]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux