[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4336e7ef-3857-e42f-e67c-94809acc59b8@ti.com>
Date: Tue, 23 Jul 2019 13:31:35 -0500
From: Suman Anna <s-anna@...com>
To: Tony Lindgren <tony@...mide.com>, <linux-omap@...r.kernel.org>
CC: Dave Gerlach <d-gerlach@...com>, Faiz Abbas <faiz_abbas@...com>,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>,
Keerthy <j-keerthy@...com>, Nishanth Menon <nm@...com>,
Peter Ujfalusi <peter.ujfalusi@...com>,
Roger Quadros <rogerq@...com>, Tero Kristo <t-kristo@...com>,
<linux-kernel@...r.kernel.org>,
<linux-arm-kernel@...ts.infradead.org>
Subject: Re: [PATCH 3/8] bus: ti-sysc: Fix handling of forced idle
On 7/23/19 6:28 AM, Tony Lindgren wrote:
> For some devices we can get the following warning on boot:
>
> ti-sysc 48485200.target-module: sysc_disable_module: invalid midlemode
>
> Fix this by treating SYSC_IDLE_FORCE like we do for the other bits
> for idlemodes mask.
>
> Fixes: d59b60564cbf ("bus: ti-sysc: Add generic enable/disable functions")
> Cc: Roger Quadros <rogerq@...com>
> Signed-off-by: Tony Lindgren <tony@...mide.com>
Reviewed-by: Suman Anna <s-anna@...com>
regards
Suman
> ---
> drivers/bus/ti-sysc.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c
> --- a/drivers/bus/ti-sysc.c
> +++ b/drivers/bus/ti-sysc.c
> @@ -949,7 +949,7 @@ static int sysc_best_idle_mode(u32 idlemodes, u32 *best_mode)
> *best_mode = SYSC_IDLE_SMART_WKUP;
> else if (idlemodes & BIT(SYSC_IDLE_SMART))
> *best_mode = SYSC_IDLE_SMART;
> - else if (idlemodes & SYSC_IDLE_FORCE)
> + else if (idlemodes & BIT(SYSC_IDLE_FORCE))
> *best_mode = SYSC_IDLE_FORCE;
> else
> return -EINVAL;
>
Powered by blists - more mailing lists