Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3014932rwb; Mon, 15 Aug 2022 16:11:01 -0700 (PDT) X-Google-Smtp-Source: AA6agR4kitKMngW728/DYmpEYWwtk7blJ3IfmmT4m26qLf+l52SztCLC9yr0sb8W5JmyWV6sgZOq X-Received: by 2002:a17:907:a40d:b0:733:17c1:a246 with SMTP id sg13-20020a170907a40d00b0073317c1a246mr11766151ejc.132.1660605061547; Mon, 15 Aug 2022 16:11:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660605061; cv=none; d=google.com; s=arc-20160816; b=CckO4IHUjWPfUogQzvlj3ednh+lhuoXJETTZvvip7NZDPRvD7dE77zKd5zRBLNeOFF eQNGNMwb0Sin71e6xoaPWnVN62NaMmYNMhAvgHq9IIaLtLd13jTnktQG44c2E/auj+/A bU6cMUnwqEQsFpDhGxAgcJjRXGUUzJIe5U16GodCHL9emglcUYMQL/4j7zEEvItoE0CW 1KhelKoY5AKIhUp+KWbNcf7hOhXFK/QG5MGeM7XFHmH5qjgDZBLBvRC/2Kw0r/AfKBCC Px30O2felD299mGam/rGsAqQ/2y8FSPnaTS/xzF7NrKTYs/H61HLwRFz3kyHfjEFuhXX MM8A== 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=ufu6BcpIdU1EBBArHxMxi58kZ6/CS+PBr0oSmTjdmLs=; b=rZZ9b8nmh916IwBccFEW5+/XtuLJ9WeeVGYrFtdcIrsJZ2+GCxfbJl3bIIGke3A+kj Fr/C1iRO6cDdc0c7Gin4pIcgeDNLu1L8pKOeP7jwytM+siAdssbPl4xJtnv5xGzk2Vnv 7whLqEiYQVTKV0fk7DYlLNMWEwSFK33lw1R2Tl15xaEfY0KigGdc/HeyZrBW75r4pZAl gAT4LS3Y/CjjG6mHDtRQEBToXE9sf62V1LWcE6U8/AsUL1ZO+JcMFvt++N4RT9Moc1Ip o4vgoqUjhEh/GTvCp/pTV1gRI/b3hO5QSH8lDkBWWyl2puQAlpt2sE97lhMbgHS6Z/FS 2j7A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g7lwjcPd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id y20-20020a056402271400b0043e16a07ebasi9590416edd.70.2022.08.15.16.10.36; Mon, 15 Aug 2022 16:11:01 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=g7lwjcPd; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S244321AbiHOU6n (ORCPT + 99 others); Mon, 15 Aug 2022 16:58:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55568 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1347080AbiHOU4R (ORCPT ); Mon, 15 Aug 2022 16:56:17 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8CB2D4F6BD; Mon, 15 Aug 2022 12:12:13 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C1D9EB81106; Mon, 15 Aug 2022 19:12:11 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1B0BBC433D6; Mon, 15 Aug 2022 19:12:09 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660590730; bh=FaBU6tLMXKLhCG+xIjEuo5LMD+Ntohf7n0ctw1jkAIo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=g7lwjcPdP1aprBIyciIZ9+F/VMsc3sVl9gb708B1lToC5Rg5z/LDxN8ReyZimBfnu 0cr3wVMmXuLTa0AQvZe0cPKgtexEJOl3F4Fg7HQzSzfdqUr0dYS1GiZvE6QSMAdx2Y Ofdi8Ohoj7Z0dIJvkIdWOKPrQEGbqcfgnku2tTOU= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Ming Qian , Mirela Rabulea , Hans Verkuil , Mauro Carvalho Chehab , Sasha Levin Subject: [PATCH 5.18 0352/1095] media: imx-jpeg: Correct some definition according specification Date: Mon, 15 Aug 2022 19:55:51 +0200 Message-Id: <20220815180444.317088124@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180429.240518113@linuxfoundation.org> References: <20220815180429.240518113@linuxfoundation.org> User-Agent: quilt/0.67 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-7.1 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_HI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Ming Qian [ Upstream commit 5a601f89e846c1b6005ab274d039e5036fc22015 ] the register CAST_NOMFRSIZE_LO should be equal to CAST_STATUS16 the register CAST_NOMFRSIZE_HI should be equal to CAST_STATUS17 the register CAST_OFBSIZE_LO should be equal to CAST_STATUS18 the register CAST_OFBSIZE_HI should be equal to CAST_STATUS19 Fixes: 2db16c6ed72ce ("media: imx-jpeg: Add V4L2 driver for i.MX8 JPEG Encoder/Decoder") Signed-off-by: Ming Qian Reviewed-by: Mirela Rabulea Signed-off-by: Hans Verkuil Signed-off-by: Mauro Carvalho Chehab Signed-off-by: Sasha Levin --- drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h index ae70d3a0dc24..12f132a83a23 100644 --- a/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h +++ b/drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h @@ -53,10 +53,10 @@ #define CAST_REC_REGS_SEL CAST_STATUS4 #define CAST_LUMTH CAST_STATUS5 #define CAST_CHRTH CAST_STATUS6 -#define CAST_NOMFRSIZE_LO CAST_STATUS7 -#define CAST_NOMFRSIZE_HI CAST_STATUS8 -#define CAST_OFBSIZE_LO CAST_STATUS9 -#define CAST_OFBSIZE_HI CAST_STATUS10 +#define CAST_NOMFRSIZE_LO CAST_STATUS16 +#define CAST_NOMFRSIZE_HI CAST_STATUS17 +#define CAST_OFBSIZE_LO CAST_STATUS18 +#define CAST_OFBSIZE_HI CAST_STATUS19 #define MXC_MAX_SLOTS 1 /* TODO use all 4 slots*/ /* JPEG-Decoder Wrapper Slot Registers 0..3 */ -- 2.35.1