From: David Lechner Subject: Re: [PATCH v3 03/11] ARM: davinci: WARN_ON() if clk_get() fails Date: Tue, 12 Mar 2019 13:23:59 -0500 Message-ID: <4292798d-444c-9eb1-2ea3-434909bce9b0@lechnology.com> References: <20190226120633.18200-1-brgl@bgdev.pl> <20190226120633.18200-4-brgl@bgdev.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20190226120633.18200-4-brgl@bgdev.pl> Content-Language: en-US Sender: linux-kernel-owner@vger.kernel.org To: Bartosz Golaszewski , Sekhar Nori , Kevin Hilman , Daniel Lezcano , Thomas Gleixner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, Bartosz Golaszewski List-Id: devicetree@vger.kernel.org On 2/26/19 6:06 AM, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski > > Currently the timer code checks if the clock pointer passed to it is > good (!IS_ERR(clk)). The new clocksource driver expects the clock to > be functional and doesn't perform any checks so emit a warning if > clk_get() fails. Apply this to all davinci platforms. > > Signed-off-by: Bartosz Golaszewski > --- Reviewed-by: David Lechner