Received: by 2002:a6b:fb09:0:0:0:0:0 with SMTP id h9csp4967087iog; Wed, 22 Jun 2022 09:12:54 -0700 (PDT) X-Google-Smtp-Source: AGRyM1vJcWwlDDvayYa++qJfg6FldJQwqwuaifHitvc8HOM8ICotsipTOeIAre3plSrRl81J6H9H X-Received: by 2002:a17:907:3f0a:b0:711:f0e2:ad67 with SMTP id hq10-20020a1709073f0a00b00711f0e2ad67mr3789853ejc.277.1655914374283; Wed, 22 Jun 2022 09:12:54 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1655914374; cv=none; d=google.com; s=arc-20160816; b=deJNWNMqStQI+QIr8c4wK4qSs++OusKqiLDWco60ySbSnB5a36cSpsvPM8Izxc0OKi Yt/vdiocrHkseUAI6meE0bvsSfSW34Mo8LxPQ3QMkxf2vXPmlDOoSVPeBuj7xJnGKupI 0TzK6hO/htfsmPqpI3olR0PgQkl3LN6j3sdxpGZJXJ6eaTwBOBXqE3E4xPLu/6cMSQxi s48sQq9zlac7F0gAbJ5+XK/vuNzGuh5pfIoZ1F3w/6OAwUY5JvPqEznkE45/Y2S1+I8Q 22PsnWhnE799Wqi/yNX3fgpOMgJO6/D1avAx0Sy6033bgbTCU/7hITYnHtaHZQbqbS03 z0mg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=USV3fl+twKeaglXK8ND9rNj7pBUi2D1D0ABm0cxEvko=; b=mE9HDxVm4UzP3vUApNbPVAgNzgjC3Qf7Qdnh5+4QcQsT7Mck6DGSUvOZRPhIbFNQKU CGr4AoJQCN9xnBK2KPyB/gcLuFxgJn6zwkTt/Mv3mYJhkWhyQ4QSb+bqYWZMAn4LoIvZ M/RU8zY0u40hBEMfdcJuRYJ4Up2UX0y3v3/fgldQcw1pxQIX49u/clqNTRx7zfXtLcY5 Ev0Gd2JR58eHU53w4vHe8GezLXi1/6Z44a0PuFiOxX4pwidjYoUUBkavgPoUvbT71fZi euo8skrMkQ4MZcbr4a5v7JBYWKSrnpn9oYnoHbsu9sdHxlw9ZG0t7iLVm28QE4+1nyTh IsXg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=UUswrZCO; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id hb44-20020a170907162c00b006feb0e0856dsi22590348ejc.653.2022.06.22.09.12.28; Wed, 22 Jun 2022 09:12:54 -0700 (PDT) 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; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b=UUswrZCO; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=gmx.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1359579AbiFVPr7 (ORCPT + 99 others); Wed, 22 Jun 2022 11:47:59 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46890 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1359516AbiFVPrs (ORCPT ); Wed, 22 Jun 2022 11:47:48 -0400 Received: from mout.gmx.net (mout.gmx.net [212.227.15.19]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 9E0243DDEA; Wed, 22 Jun 2022 08:47:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1655912841; bh=USV3fl+twKeaglXK8ND9rNj7pBUi2D1D0ABm0cxEvko=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=UUswrZCOZwnVPIrtWkrISAJD5rAj5sXkVJ6a2FK4S7ogLnKGOE7AB6uoJONiZvpZy GFcYDw2xLOxfQkf6yxGc88/IOu6Az36J/NmES+kIhCRG3ueISlyh961UR0LU3Jxyzu CIOdMM1emnxbSaDDjVOHd5xtT69vpJ8k7X06qKKo= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from Venus.fritz.box ([46.223.2.22]) by mail.gmx.net (mrgmx005 [212.227.17.190]) with ESMTPSA (Nemesis) id 1Mwfai-1njsGI44rK-00y96s; Wed, 22 Jun 2022 17:47:21 +0200 From: Lino Sanfilippo To: gregkh@linuxfoundation.org, jirislaby@kernel.org Cc: ilpo.jarvinen@linux.intel.com, robh+dt@kernel.org, krzysztof.kozlowski+dt@linaro.org, andriy.shevchenko@linux.intel.com, vz@mleia.com, linux-arm-kernel@lists.infradead.org, devicetree@vger.kernel.org, linux-serial@vger.kernel.org, linux-kernel@vger.kernel.org, lukas@wunner.de, p.rosenberger@kunbus.com, Lino Sanfilippo Subject: [PATCH 4/8] serial: core: sanitize RS485 delays read from device tree Date: Wed, 22 Jun 2022 17:46:55 +0200 Message-Id: <20220622154659.8710-5-LinoSanfilippo@gmx.de> X-Mailer: git-send-email 2.36.1 In-Reply-To: <20220622154659.8710-1-LinoSanfilippo@gmx.de> References: <20220622154659.8710-1-LinoSanfilippo@gmx.de> MIME-Version: 1.0 Content-Transfer-Encoding: base64 X-Provags-ID: V03:K1:e/jK6Z9VQvfhmbL4/RIZnEERZwYLu9YwLTfCCrPInSYYBm2ZMlu CdYKgEWHWZyP0DyZUusPmYZ7dOqtX0318268vHy0EiQ9da2TtNeALxihcGNyb2GVCKq6WIf K1WN8b7AtCjRUKa0B50guV58p7oloY6sGrhWQiJMpkUMsqd8nZGzpp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iWAvq3QKOOzHQsvWZBaMY0C4/5x9Ur8yYoe+l5rVubK3ETUHRqvaOn9H 3zXdUNjM7pJBe39Z555W7asmxuDquQQEQjBpVeSqGSda/ad7MmWQ5/pBSjWzpP416PveRUMZl I/BDunea9pML9crCdcYZdMlt4ErDobXSqD0fYFJHPU7zBG8v/ozpNOwPg== X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,FREEMAIL_FROM,MIME_BASE64_TEXT,RCVD_IN_DNSWL_LOW, RCVD_IN_MSPIKE_H2,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE 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 RnJvbTogTGlubyBTYW5maWxpcHBvIDxsLnNhbmZpbGlwcG9Aa3VuYnVzLmNvbT4KCldoZW4gc2V0 dGluZyB0aGUgUlM0ODUgY29uZmlndXJhdGlvbiBmcm9tIHVzZXJzcGFjZSB2aWEgVElPQ1NSUzQ4 NSB0aGUKZGVsYXlzIGFyZSBjbGFtcGVkIHRvIDEwMG1zLiBNYWtlIHRoaXMgY29uc2lzdGVudCB3 aXRoIHRoZSB2YWx1ZXMgcGFzc2VkCmluIGJ5IG1lYW5zIG9mIGRldmljZSB0cmVlIHBhcmFtZXRl cnMuCgpTaWduZWQtb2ZmLWJ5OiBMaW5vIFNhbmZpbGlwcG8gPGwuc2FuZmlsaXBwb0BrdW5idXMu Y29tPgotLS0KIGRyaXZlcnMvdHR5L3NlcmlhbC9zZXJpYWxfY29yZS5jIHwgMiArKwogMSBmaWxl IGNoYW5nZWQsIDIgaW5zZXJ0aW9ucygrKQoKZGlmZiAtLWdpdCBhL2RyaXZlcnMvdHR5L3Nlcmlh bC9zZXJpYWxfY29yZS5jIGIvZHJpdmVycy90dHkvc2VyaWFsL3NlcmlhbF9jb3J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