Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp355623pxb; Wed, 18 Nov 2020 06:22:59 -0800 (PST) X-Google-Smtp-Source: ABdhPJwTOLJ4Gt83jmEREyI040JKViSCBsu2VC9XzeUTYxMQI1f2MriB0FqI9uC447OoJx/Skzue X-Received: by 2002:a17:906:9609:: with SMTP id s9mr815189ejx.473.1605709379648; Wed, 18 Nov 2020 06:22:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605709379; cv=none; d=google.com; s=arc-20160816; b=qtYS4yxDM/BrD6SByOZsXLqtA0J2ym9kvbgo6W1cpiUMlM/LahCREiobMK7zVcons6 aAJsXAP7rFZ4VyV7eAKcfAAM1DwrCcoFwdH6Ri7u8IkhQHCIkNc2utazoFtgrqo3mMjo vCKWQ+frZ14lrdso7dRDTtJuFJOGCXBlqM1aruuN6YAaG421Kj7R8yKZhTQgJeF4WKnW UZ04s/tUKQKZl5MsBEw/SoTpZxW1McxRgMqYD01NX87ooJmxus1G/tBsAb1BLBDosLBt xpehRLomOJxyOy4EC2V2gjvt2/3qlh8zN1/HP5CBubvBX+RTi9rY5gbnQu96CVpPov0U edgw== 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=gBIPgFQD9Cx8hHyHUP33gvtpr5mlLTuJkV4oWJw0icLx4DibvhRzoPqQIYxCtQ8LDu MrMO+L1EfatTVOgP5bQxBlQPWokgHSLdTMfgsznJVRXqE4Qui9hoDVldK1Mq1dXo+RbQ Cnvz90AUFsCPKnCMAQzg0jxVXwif5ol4LtNn5cJI/7XreDSkoDpRKr5vtIR3J1tRQSav uuYTQJu19I3jL7UPzj/afZRKU7BS67zBwndYLtfds1JyS7xIXJUZe75vBnlfgBYPgtZB 9x2Ja1/RjFQulz5XbUJjKCJTs/F6WNx5+ELzVLjxQ8AAyIkAIMLAvJM2lLuu+UM9pSNb ZT7A== 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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 b11si2760658edz.16.2020.11.18.06.22.36; Wed, 18 Nov 2020 06:22:59 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-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-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-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 S1726638AbgKROTL (ORCPT + 99 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 Content-Type: text/plain X-EXCLAIMER-MD-CONFIG: e1e8a2fd-e40a-4ac6-ac9b-f7e9cc9ee180 Precedence: bulk List-ID: X-Mailing-List: linux-kernel@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(-) 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; } -- 2.17.1