Received: by 2002:a05:6a10:c604:0:0:0:0 with SMTP id y4csp483424pxt; Fri, 6 Aug 2021 06:46:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxzPhRZHqRYxU9ssoT4u25DkXrZ3CkQmvsSYBPNQ9V3WApLzBiR1fPMCF7BiLR15yfK+7Yq X-Received: by 2002:a05:6e02:10a:: with SMTP id t10mr936944ilm.52.1628257560219; Fri, 06 Aug 2021 06:46:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1628257560; cv=none; d=google.com; s=arc-20160816; b=cnjr0oTLjLMDuyi3XNDdVMKpDamUCD1y1yYp7vfSz6TQxREsUFDsi6y3YZVKgGnFsn O21HbUnVX4LDMhLhdqIj7qMP4qb48A3RNaQSatHwamUwJJgnbVwGzDBeHV0Er/JGDKh+ zPb/PQqksfdzif3ibrtbCPzmhz7KcsOgdRnZCJpclYNTOBLzx96ZNhB8P6jpWvL2T8Ay 01MCv8xyPapvab70GHJs6Z/hxc2Lu2l3czmkwtHu7dgxwUF8qYENz+QVTWYNrj3QuEoS DFYzlePaF7c7Pj7uYwDiSwfGAQ0UV1Ws2/i7WzjawCF9y5M2j77+plTRtFCRiscgAPb7 B3pw== 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 :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=qqAijf7VcC1XVNPYMByHqjwSKfjDgGnlwKvR9bQiftQ=; b=mev9GRr46ejf968aVeaH+/BsdYKQmgfL84EbFni2pVHyBPdL5sZF1vNsI69DcbouGl Gpls6taaABVQ1r4pWmsypz8st19c6j3vuvIISq+DW+/W38hsG09xwTlcFrfGwCEjL48V A9MlXNyLGEVbUvh+B0PH2ncX1ZOQKAxFSR0o/wsFWxOUAhUkoLhfG+OOMWF+G7WGeRcJ E8RdvvaChvwdPPDA5nhjKVMeZiuelOmk8c7Kyy9VO2B9L7zX+skueLu7yQ/L385JxiYD /RX2+HZkxeJbgHngKVzT50avRao9X5Od2/B7zJhS8Aq2luz+J5b36qu55ULBrtmwf9rh 8YLg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=KAoX3Ho2; 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=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id e16si9962041ilm.91.2021.08.06.06.45.45; Fri, 06 Aug 2021 06:46:00 -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=@linuxfoundation.org header.s=korg header.b=KAoX3Ho2; 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=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243021AbhHFIVy (ORCPT + 99 others); Fri, 6 Aug 2021 04:21:54 -0400 Received: from mail.kernel.org ([198.145.29.99]:49000 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S244193AbhHFIT1 (ORCPT ); Fri, 6 Aug 2021 04:19:27 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 9678B611EF; Fri, 6 Aug 2021 08:19:02 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1628237943; bh=42+BG0ycbiLTUvyAYa9xiB8SuDPYDhHiL+BYxOjqBXU=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=KAoX3Ho2TREl2h13HqLyxExpFC81hf4s9yxLwgFaadKZu0WVgmnaGTGMTIZ78Jj1s 47IWsmI45BZiyzdw1Vaeg7byPWo+AO6xLu3wzEFCKc5fXOizzMqRaWHKIdwtNDwzJI qrrw2D+ItDL3GixQ2kOxECrnn11LaAdbqSTcfOFc= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, ChiYuan Huang , Axel Lin , Mark Brown , Sasha Levin Subject: [PATCH 5.10 05/30] regulator: rtmv20: Fix wrong mask for strobe-polarity-high Date: Fri, 6 Aug 2021 10:16:43 +0200 Message-Id: <20210806081113.309253681@linuxfoundation.org> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210806081113.126861800@linuxfoundation.org> References: <20210806081113.126861800@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: ChiYuan Huang [ Upstream commit 2b6a761be079f9fa8abf3157b5679a6f38885db4 ] Fix wrong mask for strobe-polarity-high. Signed-off-by: ChiYuan Huang In-reply-to: Reviewed-by: Axel Lin Link: https://lore.kernel.org/r/1624723112-26653-1-git-send-email-u0084500@gmail.com Signed-off-by: Mark Brown Signed-off-by: Sasha Levin --- drivers/regulator/rtmv20-regulator.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/regulator/rtmv20-regulator.c b/drivers/regulator/rtmv20-regulator.c index 4bca64de0f67..2ee334174e2b 100644 --- a/drivers/regulator/rtmv20-regulator.c +++ b/drivers/regulator/rtmv20-regulator.c @@ -37,7 +37,7 @@ #define RTMV20_WIDTH2_MASK GENMASK(7, 0) #define RTMV20_LBPLVL_MASK GENMASK(3, 0) #define RTMV20_LBPEN_MASK BIT(7) -#define RTMV20_STROBEPOL_MASK BIT(1) +#define RTMV20_STROBEPOL_MASK BIT(0) #define RTMV20_VSYNPOL_MASK BIT(1) #define RTMV20_FSINEN_MASK BIT(7) #define RTMV20_ESEN_MASK BIT(6) -- 2.30.2