Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp8517743ybl; Thu, 16 Jan 2020 18:36:35 -0800 (PST) X-Google-Smtp-Source: APXvYqwfEB0j275ZMmXWVdIzuVAygMMbG5/Y+XRIhVZy4bU7v/M+2f3gig8KdNqnQ8fGW31yn/2B X-Received: by 2002:aca:f445:: with SMTP id s66mr1743514oih.95.1579228595396; Thu, 16 Jan 2020 18:36:35 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1579228595; cv=none; d=google.com; s=arc-20160816; b=qznTbRhSH/gztOQBXmM9D0/ieqEO3U9eRlVPeNUljkt7+5uIyOWOon6VHJFUyNA+sB dsGkFV+Mr5daXV0FMKWeBt3XGoC2af8ZSyajkenOlPRWLGYQs0ppA3by0dcC6ToGvwns 5LnTT7++Xo1as3PZm2nXtyCb1oFoPL7GnUy8yWcEl9WNpYxmPFy92I7FdUPQPiKBGWTr xE6A57XfPoZO+Lzr2j0PBEW1TFfBc6nw6v3+5QZm+8j28A8d8RrTrqg375cUfzBqbp+D M8H7RLkvkAsqP2tq+HdRahX4APW3k/vwCw5I7usQ0yuQK/a2/yy8h3EnN3gU3nToXKd6 eJKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=pr2uw0SwphTkyij5dcwIAQEsXDg2rJ14lzkVBoIZUU4=; b=t7VZ4ooEvfE9UM79kIrFIWz2Ll89lm4GyMFehj8HCrzo16dJzN6ZnJ8sELzgA6M/k8 BBmju9q/Ra0eNGzotLjvxguNe8gCwpOcI8CnUdDtCc3FQDR9aTgDED5j3VtRUJNL2r1+ z8c0R/jDH/dOOGHztBeO+IBlFePK4SQBtDUU+3sc1HqC+iEBktOvwolDRpySOvVnpdzh g4bsw1X2DEDEnmwLdXQRubTXM7mNPLXRdOYTfBle5usS54Y0ZHDkr2BdRx1HUo/Pecx0 5y2fthXfjfYaVTxEq02vCfkal1P6JbZzIOy69yRABnrr2NYtE7zszUvXxOoDc6/uCV/M ElvQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=n8dvpa2G; 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 x3si12774304oie.146.2020.01.16.18.36.23; Thu, 16 Jan 2020 18:36:35 -0800 (PST) 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; dkim=pass header.i=@kernel.org header.s=default header.b=n8dvpa2G; 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 S2387682AbgAPXZf (ORCPT + 99 others); Thu, 16 Jan 2020 18:25:35 -0500 Received: from mail.kernel.org ([198.145.29.99]:54880 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387467AbgAPXZS (ORCPT ); Thu, 16 Jan 2020 18:25:18 -0500 Received: from localhost (83-86-89-107.cable.dynamic.v4.ziggo.nl [83.86.89.107]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 623B02077C; Thu, 16 Jan 2020 23:25:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1579217117; bh=lxi8UicBoiMwTp0Kha7H9trLUAbDNsUYIP4CD6rmsPQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n8dvpa2GydcCB3StGkq1SNO2tJ/G1If8rSSEOngBFiTJ0/4gu2EXr5NSqupJzR6T/ PSnebXQcQAUU8fYJhrYxHKzhjGuSUPc7Mx9ajdCKgizEs1+E86PGwG2QakybRFd+Zx lNuw5wJ4sdzI/jaGMRrJVWknD2XLgOg/BVh0X/JM= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Jonas Karlman , Philipp Zabel , Hans Verkuil , Mauro Carvalho Chehab Subject: [PATCH 5.4 155/203] media: cedrus: Use correct H264 8x8 scaling list Date: Fri, 17 Jan 2020 00:17:52 +0100 Message-Id: <20200116231758.372108707@linuxfoundation.org> X-Mailer: git-send-email 2.25.0 In-Reply-To: <20200116231745.218684830@linuxfoundation.org> References: <20200116231745.218684830@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Jonas Karlman commit a6b8feae7c88343212686120740cf7551dd16e08 upstream. Documentation now defines the expected order of scaling lists, change to use correct indices. Fixes: 6eb9b758e307 ("media: cedrus: Add H264 decoding support") Signed-off-by: Jonas Karlman Reviewed-by: Philipp Zabel Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Greg Kroah-Hartman --- drivers/staging/media/sunxi/cedrus/cedrus_h264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) --- a/drivers/staging/media/sunxi/cedrus/cedrus_h264.c +++ b/drivers/staging/media/sunxi/cedrus/cedrus_h264.c @@ -244,8 +244,8 @@ static void cedrus_write_scaling_lists(s sizeof(scaling->scaling_list_8x8[0])); cedrus_h264_write_sram(dev, CEDRUS_SRAM_H264_SCALING_LIST_8x8_1, - scaling->scaling_list_8x8[3], - sizeof(scaling->scaling_list_8x8[3])); + scaling->scaling_list_8x8[1], + sizeof(scaling->scaling_list_8x8[1])); cedrus_h264_write_sram(dev, CEDRUS_SRAM_H264_SCALING_LIST_4x4, scaling->scaling_list_4x4,