Received: by 10.213.65.68 with SMTP id h4csp497357imn; Fri, 16 Mar 2018 09:32:02 -0700 (PDT) X-Google-Smtp-Source: AG47ELuBZVcBfU5DUpNq0VlUPerbP0dPYPbdy0U9jTvD/Ek3nL2MNw0fan1fQytJQJHikon027mb X-Received: by 2002:a17:902:28e4:: with SMTP id f91-v6mr2146729plb.89.1521217922245; Fri, 16 Mar 2018 09:32:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521217922; cv=none; d=google.com; s=arc-20160816; b=oTPrY4dcwdklZde8gyJ8UBSVYfinfZo0MXkIgh3bpjH/tj9L7ppNC3YwJagam9nhfw o+7nrCCoV7sejt6fnc5sbYBMZcY0UOgRS7NWyxXtMJARV3zyNX6VNu1jWlvTYY7r9god kA8XAG4eP2pC/V1ZjhCFSxv+Z4f1ryIrrB0NraQX4M14UWyfutq3+pH/UMzFfGmIVUhJ rdyjXmRbqk/rLpOVQw6sRVytBmlJlFsX2U3jG1wKEAHa3Iv+aSU/ABLzbrEhxGKRV07H MILiZgq0k4818C5b4m4VBWQyqTNVMeaYjeDlwzpePkyCznonFcaBWHGra6ES9lWU+E6S 9SYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :in-reply-to:message-id:date:subject:cc:to:from :arc-authentication-results; bh=cUg+Q0zM/6rXrb7IY13yRat96mG0qqe17Eehq1p4ZbA=; b=IykjFJ4QDdeSzVRnZjAt5p0nJR2SUcP+APJ8GteIqDc2T+gK6q2PRdg8QTvh/lTqZC qq9eNqzx0d+ZPMB7HjWPljkWMa7TtxvJbGTRp+6vLrXfpkVYleqIUIKwhawYj+x2Wlbm epWwytFOxW57FrkDmNIUFxpTfwk5cXcf5CywwjWtq333mFVrCwg3orJ71o2bjysAmv7Q dGIHEe3x0nd1lP0mHP2vHfLt7WbeBL0O5vT/92zJC73aFC0BVGhrSGt34UVkJ69WF65n A7UVYfx6sL/wry4L0QYNj6iRl62ndsMUp2K3g7Sr6JvtZwLpBjTOCRZ0j2L+Y6Pc03pu rKtA== ARC-Authentication-Results: i=1; mx.google.com; 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 p64si2151660pga.492.2018.03.16.09.31.48; Fri, 16 Mar 2018 09:32:02 -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; 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 S964871AbeCPPin (ORCPT + 99 others); Fri, 16 Mar 2018 11:38:43 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:42998 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S964860AbeCPPik (ORCPT ); Fri, 16 Mar 2018 11:38:40 -0400 Received: from localhost (LFbn-1-12247-202.w90-92.abo.wanadoo.fr [90.92.61.202]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id 27B9449F; Fri, 16 Mar 2018 15:38:39 +0000 (UTC) From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jernej Skrabec , Maxime Ripard , Sasha Levin Subject: [PATCH 4.14 069/109] drm/sun4i: Fix format mask in DE2 driver Date: Fri, 16 Mar 2018 16:23:38 +0100 Message-Id: <20180316152333.745406171@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152329.844663293@linuxfoundation.org> References: <20180316152329.844663293@linuxfoundation.org> User-Agent: quilt/0.65 X-stable: review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 4.14-stable review patch. If anyone has any objections, please let me know. ------------------ From: Jernej Skrabec [ Upstream commit a2407f4bd1f3001d6b46f6d32eb1cc98a60f5a43 ] Format mask is one bit too short. Fix it. Fixes: 9d75b8c0b999 (drm/sun4i: add support for Allwinner DE2 mixers) Signed-off-by: Jernej Skrabec Signed-off-by: Maxime Ripard Link: https://patchwork.freedesktop.org/patch/msgid/20171201060550.10392-2-jernej.skrabec@siol.net Signed-off-by: Sasha Levin Signed-off-by: Greg Kroah-Hartman --- drivers/gpu/drm/sun4i/sun8i_mixer.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) --- a/drivers/gpu/drm/sun4i/sun8i_mixer.h +++ b/drivers/gpu/drm/sun4i/sun8i_mixer.h @@ -80,7 +80,7 @@ #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_EN BIT(0) #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_MODE_MASK GENMASK(2, 1) -#define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_FBFMT_MASK GENMASK(11, 8) +#define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_FBFMT_MASK GENMASK(12, 8) #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_MASK GENMASK(31, 24) #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_ALPHA_MODE_DEF (1 << 1) #define SUN8I_MIXER_CHAN_UI_LAYER_ATTR_FBFMT_ARGB8888 (0 << 8)