Received: by 2002:a05:6358:4e97:b0:b3:742d:4702 with SMTP id ce23csp2926914rwb; Mon, 15 Aug 2022 14:12:18 -0700 (PDT) X-Google-Smtp-Source: AA6agR5twLqZSnCNR078Fj/TeFLYhMUfm5eZUBaGOhFFfx1DI08+UX771RQxvvZTviGnO3h190dJ X-Received: by 2002:aa7:c9c2:0:b0:440:b458:9403 with SMTP id i2-20020aa7c9c2000000b00440b4589403mr16206548edt.132.1660597938682; Mon, 15 Aug 2022 14:12:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1660597938; cv=none; d=google.com; s=arc-20160816; b=QtLF2fvZ/aX5DaMGa3+ceae28moOvydElL8dXchM5d0Cmfcc7OM8VQcQ13Mf24Uius 22JCTX0KReIxBNMHL3iULIhSvtQ5/ei+fc+03iBAHyA8r0jX2NmTt8IQdlv0+LLXeLMr rwEtFtvmb5vxvzpRsC8ivCZ3VOYJYi/ye+7NuIGJz5oSOeQ2VmE+TPCFYMPJgHkoqwD8 PYbeXmEu4xqpaouGBfeEQPOzUFHaCD0W3cB6P0PtE4FMnnihmKeRWnC+Lt4AsHvX26k/ yQnBWrTWt79SKOcAj2x4Dvw/6wVC8+lKe9bW1AmgRYNclgV1ZlqHCKHlXRF0AGOOxSw0 Ui4Q== 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=Rh///V2BoSFr7OIgN4n9IvxWKBHAFn66PQM6MCL99ao=; b=mBp0HxcHQoWKbfPjNsJEl76rJhg42E9EpjncE3aSLijHiAfB3TYT9DtpZtY4t4WlRt zQPbHnU3RV29f5vMBz/dp23KfvbXA4GKCAz7rlTFugGL6Oaa33oSEB4GwKmaSJIXznsd SQSiAldppbUtgW2ySbZW3crDQvpv3PiqbzB+ZOE2epoVvjK66K1y44w+vLqWQVw/kWHX wf6Xpj+sAODUilVcZ5Ozm0z7gLGsTLaG2HwTe2LrTABpzT8JD2lI7SgeKZA7aMRUEz0X eCqELJRuf2sHjSmLFIhpFDxPBQkzIcNz05YuGNxQkTxep/nFovoLhT1xPKuxNzXQt3ql V8rA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=RzIVuX7q; 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 bu18-20020a170906a15200b007307fd1b9bbsi7407772ejb.589.2022.08.15.14.11.53; Mon, 15 Aug 2022 14:12:18 -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=RzIVuX7q; 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 S229747AbiHOSsp (ORCPT + 99 others); Mon, 15 Aug 2022 14:48:45 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243273AbiHOSnj (ORCPT ); Mon, 15 Aug 2022 14:43:39 -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 9B4FA2F664; Mon, 15 Aug 2022 11:26:54 -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 4F8D1B8107A; Mon, 15 Aug 2022 18:26:53 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A4E7CC433D6; Mon, 15 Aug 2022 18:26:51 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1660588012; bh=bULFZigN71IgZSrJ/Hx87DvZyhXZUau5RsagxCuLl7c=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=RzIVuX7qK8Ad7xbG6LEXCfrdQp1A6B7b3prt72H9QEiFrFGomK2Nrh58lwjb8UR4v EZ/ZwMsdm65ulXH+S6e59FVwIzdeJB8DAo1K//LVKiYwz9EUqvASYvVPcAsilMprUF nvz0I9fpiSUy6e9A6YA8tbqefH1l1Wu/VLM4pbTA= 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.15 268/779] media: imx-jpeg: Correct some definition according specification Date: Mon, 15 Aug 2022 19:58:32 +0200 Message-Id: <20220815180348.801515500@linuxfoundation.org> X-Mailer: git-send-email 2.37.2 In-Reply-To: <20220815180337.130757997@linuxfoundation.org> References: <20220815180337.130757997@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/imx-jpeg/mxc-jpeg-hw.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/media/platform/imx-jpeg/mxc-jpeg-hw.h b/drivers/media/platform/imx-jpeg/mxc-jpeg-hw.h index ae70d3a0dc24..12f132a83a23 100644 --- a/drivers/media/platform/imx-jpeg/mxc-jpeg-hw.h +++ b/drivers/media/platform/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