Received: by 2002:ac0:950c:0:0:0:0:0 with SMTP id f12csp2325339imc; Tue, 12 Mar 2019 11:25:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqxeRdh3OVUz7kwLHEc2wsi8R8nNiGqpaFZab16EgHuKIkcya6WX+n0F5G9iYIFn7iBLAPOh X-Received: by 2002:a65:5cc7:: with SMTP id b7mr36503107pgt.396.1552415108138; Tue, 12 Mar 2019 11:25:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552415108; cv=none; d=google.com; s=arc-20160816; b=aJ5c9vABNv/DGlIW1WoKKMQAvqwxmapBzdVdfXD0km/InZgsh4JOF8TMKZyKW9xTc9 ddCoq0QcEU8rK4n+vzpvru/VyZH9/+IyZKeYFxs7cQeL07lbaWOodZV3KOT7jUeFA1WJ 4ug4ImWzP0g9Ip4BOHbB3tIOh5DtjiQvJvprQQ3tch8GCGN0U3cuUQsVo6F9Xi9GdKaf EgrHDoG+WWUV8ygbpo90HM5SSmopKuQttxJmp6fmdF/06yFGASoXNwD3sH+Lppezly0Z n+D8oDOX0+Y4D132OCVyiuH7BgPT+9Y/NybGrjBTmX4tcP917FW89tUFl/w3xjnV2Exw EI2w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=Dim6/40E2Hjvx3FhIEiWeBys0jmjuVF0jCckfeUK1g8=; b=YPEE00IHakUqrTcF/hITjhrY5deWy3jYe/mz8Y07vwYtxFYrcQZJhC4iPxE188iAHd 546y+H/VTeAQMvzlrc06soOboW7y738cG2mDPAev3LS8uAVwEMukY53JJljL6J/ebqyp mldSl7Gwr3z4gYVo7FLFDm6mSppxVLyIN+pTHd6cVR8mwaZ5/p/pdO75X1IpreK/8zMA h9xtoS8MhILbJZ9phiNCiLYLMqsAeIdYg4gIfh0bk5RYsch1CIT5DrvEYHhhCm7uYJaw Nu1RKU/sM0DbzIkMNRci3J1qwAw+fMkyiZEu3LJkLDUnOqdCpNzpfyIFEeH6D2mVk6hV qvzg== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=P2yAFZ6G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id g9si6569015plm.157.2019.03.12.11.24.53; Tue, 12 Mar 2019 11:25:08 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=fail header.i=@lechnology.com header.s=default header.b=P2yAFZ6G; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727024AbfCLSYE (ORCPT + 99 others); Tue, 12 Mar 2019 14:24:04 -0400 Received: from vern.gendns.com ([98.142.107.122]:54074 "EHLO vern.gendns.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726426AbfCLSYD (ORCPT ); Tue, 12 Mar 2019 14:24:03 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lechnology.com; s=default; h=Content-Transfer-Encoding:Content-Type: In-Reply-To:MIME-Version:Date:Message-ID:From:References:Cc:To:Subject:Sender :Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help: List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=Dim6/40E2Hjvx3FhIEiWeBys0jmjuVF0jCckfeUK1g8=; b=P2yAFZ6G0+7Y9lb6MLwyON9OD/ NyRdJORau+55jbAtouZX75P6LbSk07qkA6l+MuR4pMJS3GPioom+EabPUknjGIvu2Bk24TRPoH/Na WanFpVvod6nx+ahH6M249WbJ4BJ14IvG1HVai8zcZk7Rck94hIViaEQzvrMg7Osv1KwxgkmqMrbZq 9qoafv3ep3TcIyhm0+6xNc97IHIzevCiTQ/NuMfzYXAoxuRpvek5SNqefwtGTM3JdatiS/hkMytQR gUEppGEnZxTyzBmuRI3KFNWEGhcPCZ47+/TC0vDJn3eD6QvgxlbqEq+5+xKvh5AXRcWh8Y+hgKXi/ SxnXCX7Q==; Received: from 108-198-5-147.lightspeed.okcbok.sbcglobal.net ([108.198.5.147]:36998 helo=[192.168.0.134]) by vern.gendns.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.91) (envelope-from ) id 1h3m3E-0003Zn-6t; Tue, 12 Mar 2019 14:22:56 -0400 Subject: Re: [PATCH v3 03/11] ARM: davinci: WARN_ON() if clk_get() fails 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 References: <20190226120633.18200-1-brgl@bgdev.pl> <20190226120633.18200-4-brgl@bgdev.pl> From: David Lechner Message-ID: <4292798d-444c-9eb1-2ea3-434909bce9b0@lechnology.com> Date: Tue, 12 Mar 2019 13:23:59 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.4.0 MIME-Version: 1.0 In-Reply-To: <20190226120633.18200-4-brgl@bgdev.pl> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vern.gendns.com X-AntiAbuse: Original Domain - vger.kernel.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - lechnology.com X-Get-Message-Sender-Via: vern.gendns.com: authenticated_id: davidmain+lechnology.com/only user confirmed/virtual account not confirmed X-Authenticated-Sender: vern.gendns.com: davidmain@lechnology.com X-Source: X-Source-Args: X-Source-Dir: Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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