Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp3090653rwb; Mon, 15 Aug 2022 17:53:56 -0700 (PDT) X-Google-Smtp-Source: AA6agR4tvXC5mN5P5qH39LXN/jiKrZUlRsWdRj8m3yZzYE9dbdDg7grCaJgaFh/Rh9R6U3wCEj+S X-Received: by 2002:a05:6402:5110:b0:440:4cb1:c137 with SMTP id m16-20020a056402511000b004404cb1c137mr17192009edd.262.1660611236610; Mon, 15 Aug 2022 17:53:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660611236; cv=none; d=google.com; s=arc-20160816; b=lGiGG0d6uZs2dm+v6sdAUNjaQmDoei324s23uVZ15njpgt6zjWZIQMw9VWVELmQxHu ab84Awy/5RsQY9/8LkYNYmxOZ/jc0ZOtNn7iWg2vmFO1dsgoa09Un6E1xhkT9ijD1gm9 kWx8DoioUKKIlMCkEALT45qiO9dYFXZ4OhkJPg/aWQtdlPDA+OS+0qXULP/clfJQbBx/ 3LhZfPU7a8aS4FcxSz2SX3HY8yYKrg3UnT7jnIph+oZy3oOM0ghJp3zWTdRyjO1Suwae I8MAVFKzH6fhh147VnmwrkfX9BMHxUIOP2jcQsg0sf88JEM3IgEncwrAy/j4l80H1gj8 aagA== 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=v/ySfWacRs0YBO6SLAOjCPauj2DYzO4gKZBOYKATuyg=; b=MUB5aeG9W0gGtYUtJrKwM+dN4FWSWLMSr9TNDGeCp70lpoviEiDt3xnb0tI/QE03wK Ptt5z96wuwiiDu3bb4c5zErJ/JKL2cQDp+DrTXCUkwzRAQdcWwtyt8sCYws6QrE9Fri6 TlSpJiySoNKhloE7HbZdimfRTtKi+CKQrVlSQiUIalM01Cc/R7Vhva16sXlLwj7S4eK7 PNMTTxz9jvnS0Me8/Lz66p2s+7pG1eh6a1iBKfVoRwMITA8BVHKuramUhxg+E/fTzmpw blLrYZG3yW7NnKDnvAFiowhYbApwm/RcONNvd6CDWIX0uO6Pe+RvecLKxoJfo6tyVMOj j1dA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=qXIN2ilr; 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 j15-20020a05640211cf00b0043c40e2b258si10337852edw.248.2022.08.15.17.53.31; Mon, 15 Aug 2022 17:53:56 -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=qXIN2ilr; 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 S241295AbiHOXoy (ORCPT + 99 others); Mon, 15 Aug 2022 19:44:54 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:60836 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1354228AbiHOXll (ORCPT ); Mon, 15 Aug 2022 19:41:41 -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 77CD960D1; Mon, 15 Aug 2022 13:11:17 -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 374BDB81135; Mon, 15 Aug 2022 20:11:16 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 6F0A1C433D6; Mon, 15 Aug 2022 20:11:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660594274; bh=CNC3RHZtr4Vx0ECyRUs2YPM5WBx6e2DmCYMF7MiujFQ=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=qXIN2ilr6pfr6eJHmLDcvYd+JnWm1YLklqEBP8eTbdAndzYgM4TQUSg06tMe5spiL 0utEjqNaf3aGLZ/RTmX+/I095pvj3rDcdPB/9dvXnedBsul3s0dTgL3N8nj0Q5wa/5 zFFAaaMXcv+bVzCe0ycvCyJBjaafy+qFCEGMSKTk= 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.19 0376/1157] media: imx-jpeg: Correct some definition according specification Date: Mon, 15 Aug 2022 19:55:32 +0200 Message-Id: <20220815180454.765446069@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180439.416659447@linuxfoundation.org> References: <20220815180439.416659447@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 d838e875616c..5f64cbbe0fa9 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