Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp6323028rwb; Sun, 11 Dec 2022 23:38:40 -0800 (PST) X-Google-Smtp-Source: AA0mqf66YsHob/lvNux+7nCFd0xdtf5Qvz9Jph/Qwu0LCRjvNSlskYSILqQecOkj1Q0tz3pZtfh1 X-Received: by 2002:a17:902:b198:b0:189:fa12:c98a with SMTP id s24-20020a170902b19800b00189fa12c98amr17570823plr.66.1670830719845; Sun, 11 Dec 2022 23:38:39 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1670830719; cv=none; d=google.com; s=arc-20160816; b=RG6+RC6kuaiGIktDRLUqEc47M8YR47Dcom3+KMyQhx94gjda1aHDCbgP7xgrzOOxoa wenXbLhJ/EJ+szgMneLhir5FKBwTF5Iq3q0ox5QdtiiIphFgJALXjGU8bsj5qTrE25DN /OqTsRToan21B2mxZhDAoY/xPkMctz0W7DplMQjR2dvgj6Gtg/1p1yOrlbSLHrJrWbdt AD/syHSM+YWgg1bcglrtPxSa68loJUfw/J6ND6tWubzREtaZE4LU2uYYZ5iDiWprl2tB ZlFXLlyv0tsZVq/Ti53WBrbKKVMpZI86XUFNsfyG4iyUkTuD6DVMGCwM2Jod52Zcs5pD FUTg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=fdWeS2pzZ1P6VIBLrbrU6dDqt4zUBtywhATGvzpbkGk=; b=QIVbyXOYZRVoc2LnohaIZnWA6+WBoFAAi0yxZPMTR0CIGETfCNtArsgUOesoNIaq9J fb8wuxJrKvj9NnYtUUF4slpYODK4svD59JqBpy46iecd4IAOW1RIwKHOsA5ZTUmVX+mQ jcJh/zfItJvPW9l4qzhJCTRjU+2SgItmJr1x6e1Gh+r7wOh7ciyyHUrKf6STVVnDz/ex 7seWS6wGewcOl/yaUH9c6X1LpAYq8Wl1IeSPTJTlWeiRoTeIt5Q5EL9B4oe81WKdbV7q RIfS0dzzsbaeWdzJB4CBXqgJjvPbHonG1C45SYYB30TgRuudT/5h9LYJbRIShThUxKNF 6n9w== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id m18-20020a170902e41200b0017ae43612d9si7765189ple.324.2022.12.11.23.38.30; Sun, 11 Dec 2022 23:38:39 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231458AbiLLHQW (ORCPT + 75 others); Mon, 12 Dec 2022 02:16:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53534 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231128AbiLLHQU (ORCPT ); Mon, 12 Dec 2022 02:16:20 -0500 Received: from muru.com (muru.com [72.249.23.125]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 930547665; Sun, 11 Dec 2022 23:16:19 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id DA80B80B3; Mon, 12 Dec 2022 07:16:18 +0000 (UTC) Date: Mon, 12 Dec 2022 09:16:17 +0200 From: Tony Lindgren To: "B. Niedermayr" Cc: linux-next@vger.kernel.org, Roger Quadros , Krzysztof Kozlowski , Rob Herring , "open list:OMAP GENERAL PURPOSE MEMORY CONTROLLER SUPPORT" , "open list:MEMORY CONTROLLER DRIVERS" Subject: Re: [PATCH] memory: omap-gpmc: fix wait pin validation Message-ID: References: <20221209123147.591982-1-benedikt.niedermayr@siemens.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20221209123147.591982-1-benedikt.niedermayr@siemens.com> X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_HELO_NONE, SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org * B. Niedermayr [221209 12:32]: > From: Benedikt Niedermayr > > This bug has been introduced after switching from -1 to UINT_MAX > for GPMC_WAITPIN_INVALID. > > The bug leads to an error when the optional gpmc,wait-pin > dt-property is not used: > > ... > gpmc_cs_program_settings: invalid wait-pin (-1) > ... This fixes the issue thanks: Tested-by: Tony Lindgren