From patchwork Wed Nov 18 14:19:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Grygorii Strashko X-Patchwork-Id: 327423 Delivered-To: patch@linaro.org Received: by 2002:a17:906:d156:0:0:0:0 with SMTP id br22csp456633ejb; Wed, 18 Nov 2020 06:20:13 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9AeJqDTNlWfNtBZHCLXZi6S0R7J0IMWvUwSxxAlWVt2oxfT7YmwHde5Hop2dwHymsUUy6 X-Received: by 2002:a05:6402:114c:: with SMTP id g12mr25978701edw.167.1605709213198; Wed, 18 Nov 2020 06:20:13 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605709213; cv=none; d=google.com; s=arc-20160816; b=A+56GsMWC8gbjBN8G4+/0ubsTloJewmWJDsuwCHYJPHY4G4NlZG/kWKisWgd4DcyqZ CxiBs5eodo+2FxugDKYcEQaeYeISVxg7LR75FKAAQvCfDk+q/DwqZa/0NHXc2+Qvhkna 7/b8S5A0SGxRWDNVTODIeowuI7+eYH0qy43fcx5Ddk7xhUhHXwbYa9gDDolyYNCi7DW2 pQwjqYY/0c9ocBT3BMyWg3XPaIX4dSSij4fGRI8FhDmVqMiwCzGPryo16MJJzrAtlCrX SBDMfeK0kstc2yCs56R+6nLLrJFKR4GkmaWJJ7xKkZvAfiM6iqx4WvYxraxKXheqqHqg vCRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:subject:cc:to:from :dkim-signature; bh=KI2Z4UHnxhnILseGS7lyqummupvcLaGAH+tnwbFydjE=; b=WDEeBK5WdrkGjSzlL8ORK0Y8o84ssjaanuskJLu7NBDSaRxb10ymK+XaAyg6K4L5lf MuhPchsleDf7OYe5EoiCrmj3DaiEce/XHpFIrvVibCFp85LV/1yKur6n6l+T5md1Pzuc 8IRvi+7/WhL16sbz29Fvws+HOhfGtrntZtrAbY74EdUio/vdeZ49BqQvNFH5Axq9CKAX zmJn2IHeEvGbxmUo962VimJhyaca36fHzgnp+VLoJO3duO/SsZ9SzMkrwFiMztQMmPKP KbBbztkwZIRedL1ZF1rB13+3RDenH+5ijExqlU6WwLcRvpnZd2oy5jBFUqL01zubtaiB ESMQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YSLN8FHR; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id g3si15180127ejr.328.2020.11.18.06.20.13; Wed, 18 Nov 2020 06:20:13 -0800 (PST) Received-SPF: pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@ti.com header.s=ti-com-17Q1 header.b=YSLN8FHR; spf=pass (google.com: domain of linux-omap-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-omap-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=ti.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725970AbgKROTL (ORCPT + 3 others); Wed, 18 Nov 2020 09:19:11 -0500 Received: from fllv0016.ext.ti.com ([198.47.19.142]:34470 "EHLO fllv0016.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725710AbgKROTL (ORCPT ); Wed, 18 Nov 2020 09:19:11 -0500 Received: from lelv0265.itg.ti.com ([10.180.67.224]) by fllv0016.ext.ti.com (8.15.2/8.15.2) with ESMTP id 0AIEJ7dq066074; Wed, 18 Nov 2020 08:19:07 -0600 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ti.com; s=ti-com-17Q1; t=1605709147; bh=KI2Z4UHnxhnILseGS7lyqummupvcLaGAH+tnwbFydjE=; h=From:To:CC:Subject:Date; b=YSLN8FHRSD9I47kMCVjUBOq0tt/8T6pgf3oAqJ5bZR2dz6v3eTVxEsYdOcS3J6F5/ SsxXY4BMmGoB0Agw5ACfDHQ9NuB79rp28Qu7pQaiZ4KeKX7cOcMiUsTYHKinmQ4yJZ tTkrUZ1J4AudiSDdwo7MGPRNzSjV5jhpQmi57aXQ= Received: from DFLE114.ent.ti.com (dfle114.ent.ti.com [10.64.6.35]) by lelv0265.itg.ti.com (8.15.2/8.15.2) with ESMTPS id 0AIEJ7A9006416 (version=TLSv1.2 cipher=AES256-GCM-SHA384 bits=256 verify=FAIL); Wed, 18 Nov 2020 08:19:07 -0600 Received: from DFLE108.ent.ti.com (10.64.6.29) by DFLE114.ent.ti.com (10.64.6.35) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3; Wed, 18 Nov 2020 08:19:07 -0600 Received: from fllv0039.itg.ti.com (10.64.41.19) by DFLE108.ent.ti.com (10.64.6.29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1979.3 via Frontend Transport; Wed, 18 Nov 2020 08:19:07 -0600 Received: from localhost (ileax41-snat.itg.ti.com [10.172.224.153]) by fllv0039.itg.ti.com (8.15.2/8.15.2) with ESMTP id 0AIEJ6n1037747; Wed, 18 Nov 2020 08:19:07 -0600 From: Grygorii Strashko To: Tony Lindgren CC: , , Grygorii Strashko Subject: [PATCH] bus: ti-sysc: suppress err msg for timers used as clockevent/source Date: Wed, 18 Nov 2020 16:19:00 +0200 Message-ID: <20201118141900.25063-1-grygorii.strashko@ti.com> X-Mailer: git-send-email 2.17.1 MIME-Version: 1.0 X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org GP Timers used as clockevent/source are not available for ti-sysc bus and handled by Kernel timekeeping core. Now ti-sysc produces error message every time such timer is detected: "ti-sysc: probe of 48040000.target-module failed with error -16" Such messages are not necessary, so suppress them by returning -ENXIO instead of -EBUSY. Signed-off-by: Grygorii Strashko --- drivers/bus/ti-sysc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) -- 2.17.1 diff --git a/drivers/bus/ti-sysc.c b/drivers/bus/ti-sysc.c index 792a2878cb16..02186bac1b0b 100644 --- a/drivers/bus/ti-sysc.c +++ b/drivers/bus/ti-sysc.c @@ -2883,7 +2883,7 @@ static int sysc_check_active_timer(struct sysc *ddata) if ((ddata->cfg.quirks & SYSC_QUIRK_NO_RESET_ON_INIT) && (ddata->cfg.quirks & SYSC_QUIRK_NO_IDLE)) - return -EBUSY; + return -ENXIO; return 0; }