Received: by 10.213.65.68 with SMTP id h4csp473501imn; Fri, 16 Mar 2018 08:50:26 -0700 (PDT) X-Google-Smtp-Source: AG47ELtkmECpvdYaN820R+Q1y9DFkMM8hz8gvch8gcIs6Ds7pS3XJ+yHVzXB7UyvQ/5KuN19FN1b X-Received: by 2002:a17:902:5682:: with SMTP id j2-v6mr2625091pli.301.1521215426318; Fri, 16 Mar 2018 08:50:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1521215426; cv=none; d=google.com; s=arc-20160816; b=UHjBqAzHuQdG3Px+zRUlAVzLuW8H4AK7DNhWCDMxireMy0tqI7LifLZtW4UYMrQMGE 0oPdb6EEbwXHjlOFO9jT5UNVDAbwQudjcwB4/bKzZ4vOpCWxnQWtPVNbO4Git8nNNu3a VGF55RFzIVrmXz4m/i/mk9f8zx9KseMe2SRLgcWAD7WZ2tuhRj8DZYcDQvh7wFypm10l G4odsvjNZBrsa5CXoN5DYYL9id03ghsw9jsXIY2gju4lM6uYjsza5hXJAyVOjzSNQTTZ zdM9ZVseAmSuO9l5gUVhTtc82tCnIQ0I6Id+DN0pnFPobaHrUjPZ2FoOATQPpCLGY8cE LTLw== 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=aCbcuSd3FF1XBC3lX1XFfDel/Z9ZsHzj8Pw77uff2co=; b=GedYgEdqgfZRFdCZ9EA0kpT8OGPK+m8WLWnZyaiMV1FmIsVjyhdSlwhDdRnJ7NaYyU 1WgeW3AckFJ/0kWWeOyl8WkD7xQXSNu8AZuKifebuNXn4dw6JvgiFlU4sRN6G3sD5bgT XeRKrFX8N57WNgEj4RYosLf5drYzt671jcnwoEk2yJnaureSEVJ76xnpHBj3ApQcAgAg 4uFIjtulODce24o0EEyMnHhZjYhRWOSpzpjFsWjzAZAFpJxmIa102UWDldCdp6tYu83J RBwjYlSOJWBamMsbdbYozgheGGTMr79lJtzTvFX6SQKoFbRcb50R0pGb0LnvOVMPysNq vfrA== 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 t14si700510pgr.277.2018.03.16.08.50.11; Fri, 16 Mar 2018 08:50:26 -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 S965423AbeCPPol (ORCPT + 99 others); Fri, 16 Mar 2018 11:44:41 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:46046 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934566AbeCPPoh (ORCPT ); Fri, 16 Mar 2018 11:44:37 -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 58AD8E53; Fri, 16 Mar 2018 15:44:36 +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.15 084/128] drm/sun4i: Fix format mask in DE2 driver Date: Fri, 16 Mar 2018 16:23:45 +0100 Message-Id: <20180316152340.798397223@linuxfoundation.org> X-Mailer: git-send-email 2.16.2 In-Reply-To: <20180316152336.199007505@linuxfoundation.org> References: <20180316152336.199007505@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.15-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)