Message ID | 20220527075437.16882-1-ming.qian@nxp.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <linux-media-owner@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 88E78C433FE for <linux-media@archiver.kernel.org>; Fri, 27 May 2022 07:56:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1348225AbiE0H4R (ORCPT <rfc822;linux-media@archiver.kernel.org>); Fri, 27 May 2022 03:56:17 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47620 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1348173AbiE0H4P (ORCPT <rfc822;linux-media@vger.kernel.org>); Fri, 27 May 2022 03:56:15 -0400 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2065.outbound.protection.outlook.com [40.107.21.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id ADD79103D; Fri, 27 May 2022 00:56:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=JaAeraRvzG2j81Uemj7mYVa4WyO+seuYv0xIFO5Liegx43ImaoArDALFsD8Vks7svApI+I7yl3xEHmiZCMHJ+N5eRlyUG6SOC2suNjCO3yiPx/PovPjqvHD03goPxeSlz0INO9Hi2tTWn9JUC+cNWTc+tKFJST7cgj7iksp802hv8XZT+sw4cVXBXo+Cq1iCxFtF5hWS4p7LJBiF5ypMvg/UXl6vrMFVHy4TtvNFyuXmU4jk/iIorg1ojYGiRykmrPHO5JdQF76rxxNvKCY+9iFvwbofwOXA1hdwNm6yqMd5JP76bh4+uknSsXyUpaWlze2Nogbk4A+jRobdPcaiAg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=Q1oyS7Ku2eSEJO9OijTuoY1Rm2r5eE04oGvzV4/cGY0=; b=MaI0Lh45c/aKdvXT21wAiAdhRm1jRHpyY1NO3A7iecGoyry/ijvwhA1d1gipyu8edkHa8vR00/U133rcGLRlkTOtXBZ3kqDqilbo19n5gZVTKnyAcCVmwnS9Eo+1jC0/D3kVU1Ywhs6is0sjjAAvF2Ih2zuJf03uK1y6JI0UbHwH+RsO/cpOOGyIS27pV3w1sQuBHsuz82SK4oXXs2DifsbT24VoHgw9vPMxWsqpF9VT+JJebSDK92AkRD56WJSG+/lU63SFz0RpoSpt89SAEaeoBDhKyHUsPrz8gD+/D0uYYJ+HBurhfzt8LE/go21+4LpPgwJIto4aVUuCSoqkTw== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=Q1oyS7Ku2eSEJO9OijTuoY1Rm2r5eE04oGvzV4/cGY0=; b=VSd56sdcIdwvRCsoHTqSd+YU63CKdHput2qtH/vjRFA5YS/1R/rp3Iw4UkjUFpu2iYDeNTyKhjh+8/DY45q0/1C46FAoMshGvDeqRu7KfN9FSkIQ8qDEo47BbujathTrtGRpq4JlaqqgKNusfWs3dhkZOrtMzSUYw8og1z9i1Sw= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) by VI1PR04MB4590.eurprd04.prod.outlook.com (2603:10a6:803:6d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5293.13; Fri, 27 May 2022 07:56:08 +0000 Received: from AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::bc48:7565:c619:62c3]) by AM6PR04MB6341.eurprd04.prod.outlook.com ([fe80::bc48:7565:c619:62c3%7]) with mapi id 15.20.5293.015; Fri, 27 May 2022 07:56:08 +0000 From: Ming Qian <ming.qian@nxp.com> To: mchehab@kernel.org, mirela.rabulea@oss.nxp.com, hverkuil-cisco@xs4all.nl Cc: shawnguo@kernel.org, s.hauer@pengutronix.de, kernel@pengutronix.de, festevam@gmail.com, linux-imx@nxp.com, linux-media@vger.kernel.org, linux-kernel@vger.kernel.org, devicetree@vger.kernel.org, linux-arm-kernel@lists.infradead.org Subject: [PATCH] media: imx-jpeg: Correct some definition according specification Date: Fri, 27 May 2022 15:54:33 +0800 Message-Id: <20220527075437.16882-1-ming.qian@nxp.com> X-Mailer: git-send-email 2.36.1 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR06CA0007.apcprd06.prod.outlook.com (2603:1096:4:186::9) To AM6PR04MB6341.eurprd04.prod.outlook.com (2603:10a6:20b:d8::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 504c8dd5-3e6f-4403-e89a-08da3fb65b9e X-MS-TrafficTypeDiagnostic: VI1PR04MB4590:EE_ X-Microsoft-Antispam-PRVS: <VI1PR04MB4590701FC5DD0BC548986443E7D89@VI1PR04MB4590.eurprd04.prod.outlook.com> X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: dkdTgxMDDRGGVNaUuyDkVhlDgKkwRCuk0EMJrBH/BR0Rrxww34UlbwYeA2Xg05FDC+J+CD+XOICsH2w5o/7/3N+rZ7+mqRzVjC8/nWTqLF0REZTp5Af0HcYozbM8IKtY+DuqD1Wd4Lm3BPcUNIFABCUE8Ey6qTZTZ9eA/erBEpFLCfykXUCm40uvTLizQ7k1ImEXTACrArlZobWDnKhMSpAl4a710/3+bqVgCjPIxykAfOOij8+qhvwGAjpYFpdwZVl9kBODq9ZKdzmgB037sv4TygVRPX4bxF+AuYZtBj70zbz5FERZWS8qzm51gKVsEiWnERz7w++cTP0wfo3LzfpI8ano+AVOjxF01oeo/Cqwv0f1+UuAsMIuySk1x6YgzVB0fjC1BFGrY3xwi82SL8guyKqobnjgCtazgwGfzIQHZZb9WHOnr4KBafIht+xCPfRK4LWnHj+BewRsz9BNw9fReUgFm++flpiT1Yw59kf4QjR1lVnUuXnV2XZbpOEb8GcoXIVQSz3vognOyrPgCzF7BnHFWZJ87RUg48Wpo9FTEFfegGbdoKC1BQxkBwOKeOoHZMUXyvuzfHommuHtGZe0ceZa+dw74tzCs0bHBMRI6lVpLt9MLPqMy62SHwTwCOkAZUjxpF8SrqNRgVjpjXtwsKyW+PZcavniILhQE4S6mMJ9wnRzCLaSKHusyelUYbEvykoLmSMgkRLelDgF5A== X-Forefront-Antispam-Report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AM6PR04MB6341.eurprd04.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230001)(4636009)(366004)(66946007)(86362001)(4326008)(8676002)(38350700002)(66476007)(66556008)(2906002)(38100700002)(316002)(36756003)(6666004)(52116002)(6506007)(83380400001)(44832011)(2616005)(6512007)(186003)(1076003)(26005)(508600001)(6486002)(8936002)(7416002)(5660300002);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: RG10AhKUKk5PLAKWhOvNuhM85A1/iIc7G07wVh2OBzEP2lQYJiGQGbhtz+oRwJctvGB6srqCbT3dg0ASfT5VEtP8KAKkvumlREp5QzwO7O0gRo6Q9JGlnkTlx2WEJ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KLSEAeGOksyLhYoZEq2cJqJptujmOINgnA1GcVCeQYVSygX1pULAQWcAzgJF8nT5BTa4Naa9wLrsSae6pxh5bgAUDKEskA5lFLPc0ldkp9GxjYBLUShxZMzjjPzJAXLl8WTQHH35knsKGH6K4ynpXM3mKvLrkc3RE0iwZhQ5C+Z8gfNuJaDQimf3MDHZ6/I2rnGBNe64Ydntdm56vsuegmM5chVkx+74j7VHcZarVjzxX1dlSJstERmR1WjFUUHIUxs9hubGKE223VgSPZzDV7ZayIEMgHuTKHpJ6W1TUH0viYSzsK6S5au6mAq32i3OPPLZ+BrMQaDcODMfArIdwWDMlshylUtdjJP08ObyoEPs8+473mJqZE9sCyhRGyJy1kxmZWBN4Q1guFavieWwZOjtTWiCHQtShyIHrzqeoQ0KHEDR1/duCT/LVEzqf38sVB3qZ40HnSDMFV3OmQwtwtH8UolS9UGnpjehFWsLIXJrFgp/TERBDPjNiTEY8wZmsMRvWcfLXgboFOxTMlIoODbrXO4j99mrhg== X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 504c8dd5-3e6f-4403-e89a-08da3fb65b9e X-MS-Exchange-CrossTenant-AuthSource: AM6PR04MB6341.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 27 May 2022 07:56:08.3209 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: wHfaQuOODDzr0PwpdEbN62vL2dgLqaKyAsd8/vvti5P+9Wu2QBGD8p1W1KPx0t+27dYEoo+FFuhsRAYNDd05Tw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4590 Precedence: bulk List-ID: <linux-media.vger.kernel.org> X-Mailing-List: linux-media@vger.kernel.org |
Series |
media: imx-jpeg: Correct some definition according specification
|
expand
|
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 e7e8954754b1..07655502f4bd 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 */
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 Signed-off-by: Ming Qian <ming.qian@nxp.com> --- drivers/media/platform/nxp/imx-jpeg/mxc-jpeg-hw.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-)