Re: [PATCH 6/6] OMAP: hwmod: Temp fixes to get hwmod registers work

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

 



Benoit Cousson <b-cousson@xxxxxx> writes:

> From: Rajendra Nayak <rnayak@xxxxxx>
>
> Do not disable any clocks yet since not all drivers are adapted
> and rely on bootloader to enable clocks
>
> Signed-off-by: Rajendra Nayak <rnayak@xxxxxx>
> ---
>  arch/arm/mach-omap2/omap_hwmod.c |    2 ++
>  1 files changed, 2 insertions(+), 0 deletions(-)
>
> diff --git a/arch/arm/mach-omap2/omap_hwmod.c b/arch/arm/mach-omap2/omap_hwmod.c
> index 302f2c8..9f7cb9f 100644
> --- a/arch/arm/mach-omap2/omap_hwmod.c
> +++ b/arch/arm/mach-omap2/omap_hwmod.c
> @@ -524,6 +524,8 @@ static int _disable_clocks(struct omap_hwmod *oh)
>  
>  	pr_debug("omap_hwmod: %s: disabling clocks\n", oh->name);
>  
> +	return 0;
> +

again, a cpu_is_* would be preferred, even for a temporary hack
as this obviously affects OMAP3 as well.

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

[Index of Archives]     [Linux Arm (vger)]     [ARM Kernel]     [ARM MSM]     [Linux Tegra]     [Linux WPAN Networking]     [Linux Wireless Networking]     [Maemo Users]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Trails]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux