Received: by 2002:a05:6a10:9848:0:0:0:0 with SMTP id x8csp176567pxf; Thu, 25 Mar 2021 01:09:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwTNygE4PBP24Li/MwMsEEwkpyzIrxg+tfwpYrhqyjzagtRPtjYjvJYEPYjUMpwIHzZMlFH X-Received: by 2002:a17:906:7f12:: with SMTP id d18mr7775639ejr.368.1616659756923; Thu, 25 Mar 2021 01:09:16 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1616659756; cv=none; d=google.com; s=arc-20160816; b=xSQlyYVTUlmuMyt1UFFKpQIX3KzGaVqVuaxDC4vwLUXF6PVjdIH2K8NpKu2RDdjhac 8WfUwJZOo5PxdzfjhDudY36FLrZGaF2em0eQZ6tskkUWsVKX+dBU/4/rvrjmhyFjhDCf SssDV6qRadvB7B9Em//aNMl9J3/pGXyZPoBTQbgKp0wppRsxPCWrz/TTD4aguo/ZMycd gCM/5CScWgniXWNgX5BlXDB9DJLL3QtSGGAFKr48nsrLxnD6NQztmhBUxuQEiCPnxBMf gbMLS24G7Iv0xlBgeYnLEjiXdMNgT0WG17wB5NnrKw646vN+csNBuVAa8CrFNEhC7mcn I4Fw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=0wB5lQya3fiuyoxrh9PPyJyATOmdemC/qwgZIh3MLq4=; b=mnLjvtoA9gojWXv9JnwoacvRQfqxN7gC4O1iQm2dQzOXAkr6i/pvPSZnXCtYt0HCkT XwrzOvqA/aIQ9S0hQuiClDC1prSjY82+ar+i1ZKn62rN5gXjmJn//Z/DqBHvbEqnDivr DD2KZUWaXe7hVLD6IRHCuQsngAv2Glcj+hYaRwy6+2JG+pP+8VOe98UsAFaLZ++NfE94 UQDmH+GWaw8gGdV9wWrK+I5RhPWLsdxJfV3EsJo6GPJZ9UzNkzdJcXH/g/XRDsVodq2T UGakOn+jXVx3GrLjRM+JHnle+SrvqMOQ+ZJxu87ClsdKWQ6NdL7op7H+V0B38XGT70Rm R3yQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aM6TFeKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n16si3422992edw.216.2021.03.25.01.08.54; Thu, 25 Mar 2021 01:09:16 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aM6TFeKy; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229651AbhCYIHf (ORCPT + 99 others); Thu, 25 Mar 2021 04:07:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229988AbhCYIHQ (ORCPT ); Thu, 25 Mar 2021 04:07:16 -0400 Received: from mail-lj1-x236.google.com (mail-lj1-x236.google.com [IPv6:2a00:1450:4864:20::236]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DB021C061760 for ; Thu, 25 Mar 2021 01:07:15 -0700 (PDT) Received: by mail-lj1-x236.google.com with SMTP id s17so1972927ljc.5 for ; Thu, 25 Mar 2021 01:07:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0wB5lQya3fiuyoxrh9PPyJyATOmdemC/qwgZIh3MLq4=; b=aM6TFeKy/Sr4tGz1N1EnSXdfLU3vaY2kFJX6BdJBgbN8xVtCGXpCEg9Z45lrOPNDGK DURl7B5z2+X1tLD7URoxhT3zym1TUIu3Rbenz0WDKPOBKjrQ5ayWbVYIg2fEWptAdn5N fvIOtx72uXurYiOV39DZbqWVzh3c7FaXh3q1WnDlyPBbNFRVA9i35GNIX9MZJOg4kwfv UK017DDdxjchn8spNPBYnfKmRpNh1wJqpCVMiE32xJE72FgUXXcTKTjSGV7VROCKwnvr xhNWS1SxFiwkDbplB1uJeM1x2b4R1+q6eZLAjNHK84mWQjb96MTxlqKWwrT/j0l+oYtK uzvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0wB5lQya3fiuyoxrh9PPyJyATOmdemC/qwgZIh3MLq4=; b=trHRnr20WQUO4BcO6UZ2qf8Y/RhoB/gBGuP+H8Y17BKFr8kFsCRh6CKb/N/aBjz+4n R2AyIL8vGVkCh7T/K52xN1hXeua9/ZUJXJxiWW2XwaHlr26rgrEZQ0/7ApVFuj3RVSqw GaXnZJWtQDe+VrxNpJYFfTKk/6SxSb3zlW9lQGVJQbF+sD9H0uCAP9E3gcD79H52QO8B 0D6E8xiMKRWp5dPoKGe4ojKFX+M3LC7RhsQHd6PBTlXPagXaTJOPnJorpv0A3Frl1Zkw fCbr9tanoWDMaAo3Em74nuVgykogLPIt0zMhpzEAahYh7ftJhH0U5/5ojKxDzTvTJH1x 6jMw== X-Gm-Message-State: AOAM530YO8nZWOf9ELJWHJh/O32NVhQs1hC/GuoVWCtUywtRAx16dntY lGoFquS8RcseXuCtdIskpoHQR5KI7kF5OmvYngykcg== X-Received: by 2002:a2e:1649:: with SMTP id 9mr5011080ljw.74.1616659634275; Thu, 25 Mar 2021 01:07:14 -0700 (PDT) MIME-Version: 1.0 References: <20210319152133.28705-1-hhhawa@amazon.com> In-Reply-To: <20210319152133.28705-1-hhhawa@amazon.com> From: Linus Walleij Date: Thu, 25 Mar 2021 09:07:03 +0100 Message-ID: Subject: Re: [PATCH v4 0/3] Fix pinctrl-single pcs_pin_dbg_show() To: Hanna Hawa Cc: Andy Shevchenko , ext Tony Lindgren , Haojian Zhuang , dwmw@amazon.co.uk, Benjamin Herrenschmidt , ronenk@amazon.com, Talel Shenhar , Jonathan Chocron , hanochu@amazon.com, tgershi@amazon.com, Linux ARM , Linux-OMAP , "open list:GPIO SUBSYSTEM" , "linux-kernel@vger.kernel.org" Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Mar 19, 2021 at 4:22 PM Hanna Hawa wrote: > These patches fix the pcs_pin_dbg_show() function for the scenario where > a single register controls multiple pins (i.e. bits_per_mux is not zero) > Additionally, the common formula is moved to a separate function to > allow reuse. This v4 patch set applied! Yours, Linus Walleij