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=-16.7 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS, USER_AGENT_SANE_1 autolearn=ham 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 7B12CC07E98 for ; Mon, 5 Jul 2021 07:48:18 +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 44AD261396 for ; Mon, 5 Jul 2021 07:48:18 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 44AD261396 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=canonical.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+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.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:Date: Message-ID:From:References:Cc:To:Subject:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=WZwphXTG5Po9C7sy+I5NOFDdD3vy73d5vLwgp4aj75s=; b=Xa7oVju1GnyCCIcNMya7iSfFFc XQX67VvSK9+KaOR8baQpXwrvOEqqhyb8pMVuKECJJ+md8v0n9oC5sdivCICqlEfjM8ZojI79TCNWh Lb6Q8w6LKXjH9IioHC8AskYa8BTjYvHi7AHg/37WQg2d+KYpYaUA9D5WiveARmG8YvQ0WFz+enfOS Qh8OhnpWWWbHq7bSA7l32OO0mdd4pdbNNtfRNNiQWyixScbnZlv+uwq+f0RZE8lMdVlTF1VTzIRGo X4FBCXLUfI/ZaTWiHgEmkvOYb5U23TfF2zBWugOtObIcIP+NEdInVfOMLeEKOuIRl4foUOOj3c49F UFDktzFA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1m0JJT-0087J9-58; Mon, 05 Jul 2021 07:46:43 +0000 Received: from youngberry.canonical.com ([91.189.89.112]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1m0JJP-0087GL-Pp for linux-arm-kernel@lists.infradead.org; Mon, 05 Jul 2021 07:46:41 +0000 Received: from mail-ej1-f70.google.com ([209.85.218.70]) by youngberry.canonical.com with esmtps (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.93) (envelope-from ) id 1m0JJM-00021I-3f for linux-arm-kernel@lists.infradead.org; Mon, 05 Jul 2021 07:46:36 +0000 Received: by mail-ej1-f70.google.com with SMTP id q8-20020a170906a088b02904be5f536463so4946136ejy.0 for ; Mon, 05 Jul 2021 00:46:36 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=OUlQvFhnqw4yNB5g21FpiNDLoa74ksIlL0BX+hEIYks=; b=VJf3EofPViWzGcM/HiYhEQ6XgIzBD7dh6b+Npmfv15VT77pA7xrqKoInbc2V4oIkkO VYaObZNy02JAVMwTt9BHAcveyHqMbUk2e8xEhpOzvcpvWSFAWSFZg5KqO0rRiQ14c11X TRi1VNtl2SlcJneC0r6DaRxrFbpbFIKFnOvGw4D8m0wPKopFd88OsC7xZ4zZyCvxLncZ fDpGC99luQ2qxcYXcVZej8wjxiGuZGp6cC1kWjWwcIIJv5Mw/5JqYnNfo2fL4AuWxnEc uRUI13ARD3EpjulB8WSyokt0Tx/+xHuoxwgXkOAmiNgKK1oKcB1LNuQNVH39H9mT8/LX aqSQ== X-Gm-Message-State: AOAM530v4q6ifpWTKFfENmiAPvL2JMKr8Dadw0mTRvI9urDpRUbd75qK UTMOz2HHsHg3otFdMNKSKtQJkoNuVKXfCnC0oZrr6rriz9IddM3JWNCTMSO9NOKJcvGCp4YrWLb /05Yx22up1wS2FvyjdcONKsJt28m+LMXCdVfSvSE+l2Kvr5IeJhI/ X-Received: by 2002:a50:fe08:: with SMTP id f8mr14916116edt.186.1625471195549; Mon, 05 Jul 2021 00:46:35 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzW6PoBTiPiuHziQf0PYt2MvNb01/YBP8mxrJfN2emEpQSWFsLcmPfpPNgmeKiK8cDlYK2oLQ== X-Received: by 2002:a50:fe08:: with SMTP id f8mr14916107edt.186.1625471195398; Mon, 05 Jul 2021 00:46:35 -0700 (PDT) Received: from [192.168.3.211] (xdsl-188-155-177-222.adslplus.ch. [188.155.177.222]) by smtp.gmail.com with ESMTPSA id k25sm3450686eds.77.2021.07.05.00.46.34 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 05 Jul 2021 00:46:35 -0700 (PDT) Subject: Re: [PATCH v2 4/5] i2c: s3c2410: fix IRQ check To: Sergey Shtylyov , linux-i2c@vger.kernel.org Cc: linux-samsung-soc@vger.kernel.org, linux-arm-kernel@lists.infradead.org References: <3712e871-bf2f-32c5-f9c2-2968c42087f8@omp.ru> <771d94cf-5e82-0cb7-fb1f-5af2f0b10dd4@omp.ru> From: Krzysztof Kozlowski Message-ID: <2a76179d-b901-b971-ea99-b68833dc56cf@canonical.com> Date: Mon, 5 Jul 2021 09:46:34 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.11.0 MIME-Version: 1.0 In-Reply-To: <771d94cf-5e82-0cb7-fb1f-5af2f0b10dd4@omp.ru> Content-Language: en-US X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210705_004639_889566_1992B0DB X-CRM114-Status: GOOD ( 13.22 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On 04/07/2021 16:45, Sergey Shtylyov wrote: > Iff platform_get_irq() returns 0, the driver's probe() method will return 0 > early (as if the method's call was successful). Let's consider IRQ0 valid > for simplicity -- devm_request_irq() can always override that decision... > > Fixes: 2bbd681ba2b ("i2c-s3c2410: Change IRQ to be plain integer.") > Signed-off-by: Sergey Shtylyov > > --- > drivers/i2c/busses/i2c-s3c2410.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) Reviewed-by: Krzysztof Kozlowski Best regards, Krzysztof _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel