From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-3.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DAE88C433DF for ; Mon, 15 Jun 2020 12:51:07 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id AA80E206B7 for ; Mon, 15 Jun 2020 12:51:07 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="Mj/5nVPl"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=kernel.org header.i=@kernel.org header.b="Vz306RLi" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org AA80E206B7 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=linuxfoundation.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=W5yly/VsMH2GSQVOBFqJ9nOBtSqoC4gcOkaYNrjedhc=; b=Mj/5nVPlqL0QfT u2l0HkIYHhrR+eeku8H3JKzylI+jnJbty/tK7s8NJx+sT1XtwgKjnqJFLvZXlbVXpYEr54wzlYvzW VqIGz2P3+mTV4lSdtqZtlrJ/sc1UoFVR0VWC9mZ76ijlwpwQhyIGZX2f2YiuFgC4zxtElf7Z7fOtv hqiJsW5HmR6nzDvnFTo1ZXO04b7jNVuGaccCOiqar8xYC8SniGjEePp+CuvpB2TFABA6CwvwmZEEQ few0ZBcjEqHhIIgTwHJFY/U3eISPVi4RjFqgs5Bu3aH8p+j9kSz2afnzuEXTq7cIdcUW2nQpLoCYq fpE7H6Or+snPlgenPpKQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkoZp-0000AK-LD; Mon, 15 Jun 2020 12:51:01 +0000 Received: from mail.kernel.org ([198.145.29.99]) by bombadil.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jkoZn-00009y-02 for linux-arm-kernel@lists.infradead.org; Mon, 15 Jun 2020 12:51:00 +0000 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id B4889206B7; Mon, 15 Jun 2020 12:50:57 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1592225458; bh=opXdZXt2DFTPHJA+O55Kbh4HKBceFmOFhEyjhINS4eA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Vz306RLiesNwax8KplFcYnagKnClmMl58mSEPOq40mt50jZY+UPNYS9wsGAby/EZI iH5tvl8s9qChdjSfTmDqHPFHBoqgpOGOGbSziPI3KfWS/Kha0gAQS754BoAokyk9eW SPuj2kVwkCIT7twI8wPFXBgMfgkDw9IkWfNhTc38= Date: Mon, 15 Jun 2020 14:50:45 +0200 From: Greg KH To: Tamseel Shams Subject: Re: [RFC PATCH] serial: samsung: Re-factors UART IRQ resource for various Samsung SoC Message-ID: <20200615125045.GA946844@kroah.com> References: <20200615122609.71884-1-m.shams@samsung.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20200615122609.71884-1-m.shams@samsung.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200615_055059_052137_40456CDD X-CRM114-Status: GOOD ( 11.77 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: linux-samsung-soc@vger.kernel.org, alim.akhtar@samsung.com, linux-kernel@vger.kernel.org, krzk@kernel.org, kgene@kernel.org, linux-serial@vger.kernel.org, jslaby@suse.com, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+infradead-linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 15, 2020 at 05:56:09PM +0530, Tamseel Shams wrote: > In few older Samsung SoCs like s3c2410, s3c2412 > and s3c2440, UART IP is having 2 interrupt lines. > However, in other SoCs like s3c6400, s5pv210, > exynos5433, and exynos4210 UART is having only 1 > interrupt line. Due to this, "platform_get_irq(platdev, 1)" > call in the driver gives the following warning: > "IRQ index 1 not found" on recent platforms. > > This patch re-factors the IRQ resources handling for > each platform and hence fixing the above warnings seen > on some platforms. > > Signed-off-by: Tamseel Shams > --- > drivers/tty/serial/samsung_tty.c | 20 ++++++++++++++++---- > 1 file changed, 16 insertions(+), 4 deletions(-) RFC means "I do not trust this so I don't want anyone to merge it", so I'll just delete it from my queue and wait for you to come up with something that you feel confident with :) thanks, greg k-h _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel