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=-9.0 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 048D4C433E0 for ; Wed, 24 Mar 2021 12:20:16 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (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 97C5D61A08 for ; Wed, 24 Mar 2021 12:20:15 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 97C5D61A08 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=atomide.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=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:Cc: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=YI/TQWdE366FILhGPKCSZ2el/hzk/OFNw1rq/pIH4DE=; b=QT8skW7nf8nfi13WVOSYizJwB 7NsL+MKAF7qhSl78xYKy61CpIRC6Uyzjr+c7M9xCQMSjSwK8+BbiyXkyPNPjdtuYDGG3RlSqbaw4K Js4SM+FcO3AmQglAyR2r97Rbg3RvVA8yM/XXeJF6Pd0WVcJX+G8AHmJQd8H0qSCojkiXPSCRNfp7D 4VVU9Cgys14n+5XSZjpu5B/b1p4zhcRVXm9t636nWRYeI39h5W011CxRWCIRorcGf35//KFeQcffY sv9shFEkBC9DSEK5TYazASrw5MVQrfSP2NSENuzHeXsU+S9OxIaOKvLE0zaon3PiKczypCQPIx9s2 FpOpCa5Og==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lP2Sc-00H1yl-4S; Wed, 24 Mar 2021 12:18:06 +0000 Received: from muru.com ([72.249.23.125]) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lP2SW-00H1xs-Pt for linux-arm-kernel@lists.infradead.org; Wed, 24 Mar 2021 12:18:03 +0000 Received: from atomide.com (localhost [127.0.0.1]) by muru.com (Postfix) with ESMTPS id 2601E8057; Wed, 24 Mar 2021 12:18:54 +0000 (UTC) Date: Wed, 24 Mar 2021 14:17:55 +0200 From: Tony Lindgren To: Hanna Hawa Cc: andy.shevchenko@gmail.com, haojian.zhuang@linaro.org, linus.walleij@linaro.org, dwmw@amazon.co.uk, benh@amazon.com, ronenk@amazon.com, talel@amazon.com, jonnyc@amazon.com, hanochu@amazon.com, tgershi@amazon.com, linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org, linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH v4 3/3] pinctrl: pinctrl-single: fix pcs_pin_dbg_show() when bits_per_mux is not zero Message-ID: References: <20210319152133.28705-1-hhhawa@amazon.com> <20210319152133.28705-4-hhhawa@amazon.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <20210319152133.28705-4-hhhawa@amazon.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210324_121801_037392_BEA7F660 X-CRM114-Status: UNSURE ( 8.63 ) X-CRM114-Notice: Please train this message. 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 * Hanna Hawa [700101 02:00]: > A System Error (SError, followed by kernel panic) was detected when > trying to print the supported pins in a pinctrl device which supports > multiple pins per register. This change fixes the pcs_pin_dbg_show() in > pinctrl-single driver when bits_per_mux is not zero. In addition move > offset calculation and pin offset in register to common function. Reviewed-by: Tony Lindgren _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel