Received: by 2002:a25:d7c1:0:0:0:0:0 with SMTP id o184csp1541519ybg; Sat, 26 Oct 2019 23:34:20 -0700 (PDT) X-Google-Smtp-Source: APXvYqyFqYpcmS94jRjCS98JWUmRmRRDq/+gfe5nsB8xaZMBcO/1yHcy1Oc5POaGmMlmNd1KbKFz X-Received: by 2002:a17:906:e2c2:: with SMTP id gr2mr3067640ejb.31.1572158060481; Sat, 26 Oct 2019 23:34:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572158060; cv=none; d=google.com; s=arc-20160816; b=EhE3eGSPoAlxeSNwopGVAMTipkg+4BY1yAUO8FRk5i7v2TePK14IdOWcF+xIAzvVjK 6dFfF75Jfj7Le5jkqfyL+aLCN9lZcr6WRy6CMp5jpBg6kNgZLu2uW05gWNvDcPEPfhn0 ScjnVYY9dxe+giGtm9xESUeZ6lqL13OlPCqJ3qz5WWS4X375Pr2ZgrihsnEPNquJoeXh V+ws4r/DTigu3NO1H1crP4rxUgSmqlptiQ/3eXypqppVLd9DLKW99QZ9+TsTVBtCrHWy J9kfpNqMrIuyx8yPpIYHLdfq4yhKh8ky7N6ioHkFHtbrjz/+6yTM7Qhj7t3/nTO1qLAc swmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:references :in-reply-to:sensitivity:importance:date:subject:cc:to:from :message-id:mime-version:dkim-signature; bh=URb4ktMfUpL1dbYIat3/0f/YdBmBlVy9KjAM/7UpLI0=; b=l95fakHmtXDZCu58JvpcEBbco8tLCH90rUFtm+znGAZQu2BSzudQQotW/mnYQYey/a oDp6ZIEmG+rymtMcazr7VmQazhet/5DiN30dd3uz0VHz110H5HaK2nJsHxQAIgzKWc8L xPtnDvmLBItsrtpSsqGVjLjz+yosFlUXR1GQZPxiSSLTLnvboWtKUSBm4S85/FGo8bts VFG/88vlftMNaakSAbQimd0uf0TkmemaL4vaY0RcCy5vuaSwvy9LMotcW1zxp8nnMbsz /Co8UIxPKxf1lx1R6eG7xeM0x87RQC2Q0XXpeZPlzi3l1/OW3ETfy9DsaqqtugQ9WRvN 7IcQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="XglZzy/W"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id q40si4829084eda.218.2019.10.26.23.33.44; Sat, 26 Oct 2019 23:34:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmx.net header.s=badeba3b8450 header.b="XglZzy/W"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726024AbfJ0Gcn (ORCPT + 99 others); Sun, 27 Oct 2019 02:32:43 -0400 Received: from mout.gmx.net ([212.227.17.21]:58099 "EHLO mout.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725838AbfJ0Gcn (ORCPT ); Sun, 27 Oct 2019 02:32:43 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1572157953; bh=URb4ktMfUpL1dbYIat3/0f/YdBmBlVy9KjAM/7UpLI0=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=XglZzy/WMm59HtyMddVqjE6ZR2+RaxPmfwEmYCXzobfiJeL01Z4U7Obw90woqrfgb U4GeXgWqrDWPrbBr+eMNLB+IHQEsYMZrhgincWFuJy401uyX7T8HutSvALTIyFQ8dK tKIlCC23G/wAFx9sUPnqKvPQGmWMEAp2MU3Pddww= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Received: from [217.61.153.185] ([217.61.153.185]) by web-mail.gmx.net (3c-app-gmx-bap44.server.lan [172.19.172.114]) (via HTTP); Sun, 27 Oct 2019 07:32:32 +0100 MIME-Version: 1.0 Message-ID: From: "Frank Wunderlich" To: "Fabio Estevam" Cc: "Greg Kroah-Hartman" , linux-kernel , linux-mediatek@lists.infradead.org, linux-serial@vger.kernel.org, "Matthias Brugger" , "moderated list:ARM/FREESCALE IMX / MXC ARM ARCHITECTURE" Subject: Aw: Re: [PATCH, RESEND] serial: 8250-mtk: Ask for IRQ-count before request one Content-Type: text/plain; charset=UTF-8 Date: Sun, 27 Oct 2019 07:32:32 +0100 Importance: normal Sensitivity: Normal In-Reply-To: References: <20191026194522.28293-1-frank-w@public-files.de> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:ZwFWc4VD9dcVeZ8c7PaQyxCHzgAqT53gsWj2AJnSZjBgsFAC2j82vL5w/gSwf6To88DKA 0JVhXeQGn6v1xg0j6H+pFB8vA8+G3TYvM7Slk1tW8sLbSXnjKM8T+P7wBcDqXssvwR9ws1e+sTQe aJqoVJNc+XDlrH9pnB4HQeTnFTiiEP+UoM5ROLtw/5h8kkLPEbD+UxQrLCp8YTZ97jRaW5MJh0ZW bM4K1Wgk1DmIF2UCcsSQP8MQP3/WRsna/nRScowwiffo8+6oaCX4zehW3QPQlNUqjonbdPOZJk+w N0= X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:AFsynnJYb5U=:KBDbqLyPbYU5CLeqGZx3Vo Sfnot+l7NRHzME8agB4fxaK7Rf01wkVSaeg1QGQ+dzmIKGc0efJ/YlsvMg9TZZRiQfx4ej1V9 Zo/2BChttYcdZZsI2tZheHb2tu0Izlf6WvHdTE6Dwi97qWNg7bPaHtgHuHwfFmpBNtJnHrpCG fr2tpnbNC2TOjr+Exx02YsaHbmmIRMPAWSuPDMuwjQXRvR4ffqa+BECFzZUhmYjzhbit36Qyt ZakEpDe9Kh9YUXJW9aXAJztfq+66NJJuZMzEYicOR9bGB2R+lhea04uxcnNhWKq6CB4q3zwq+ GRX3mr+KdMgOKLhrahiMZ+8eugpCP3Ldrl0RY0hjPrXEKX6+De4W0n2saAfp9H45+uQTXPCzg BI1tfs7KMJG6kSsuKLInuWV5O2/b7pcM2pLXYbJNPDCUHc8kDFixkYrHBq10obM3MCW+w4/1K 11XyCKqW9iDB4HsGO2W/MsweDQ82iA+eRMe7XdX1xmJQmRfLLZaKHb6VEc69Mk4BPOMf/O1HP gstDfHykbv+cMcfOaTz4XFsMpb6T+KNeA2yPd2PTXAYyoadOusBMiPCRQhJvYSULYTLHu9J5w w/WboqFnJlp0Xvk2Ekh7KvzjsD0KhKJ37v6cpAlBsJr1E4efWL+3XcE/awA+s1KhFAB6LPo1W OFE9pK3qpw72iSLZJDdFmKl5quWbLc5xGULgM5MET6guvM5N/poP7PhPszZcKQaDM+3c= Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, thank you, seems to work too have posted v2 here: https://patchwork.kernel.org/patch/11213957/ regards Frank > Gesendet: Samstag, 26. Oktober 2019 um 21:31 Uhr > Von: "Fabio Estevam" > The solution that was accepted for this case was to use > platform_get_irq_optional() instead. > > You could try using platform_get_irq_optional() here as well.