Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 0CD691C06 for ; Mon, 12 Jun 2023 05:57:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1686549456; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=TFqzGpv584zUtcEatY8I7u9eGb/Y9WKhH3NALOezmT8=; b=Jugg60Pde+9Xhfs2g3PFcoKI8lGKqKG0obDWYaDw6vrxeeWPdRmbJloCWzjr0x13n0mfEL MTXSDEqCR/IbJAqT4GzoMNmIET36pnXxJkuWoh8wetv4imfvGLzX/OimoLLigufN51GC7T u9we7MTVYBOYFlR4tSLTD2g4xIbbdCw= Received: from mimecast-mx02.redhat.com (mimecast-mx02.redhat.com [66.187.233.88]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id us-mta-191-_gWViJQSNku59SULBPet6A-1; Mon, 12 Jun 2023 01:57:35 -0400 X-MC-Unique: _gWViJQSNku59SULBPet6A-1 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.rdu2.redhat.com [10.11.54.3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id 170A68027F5; Mon, 12 Jun 2023 05:57:35 +0000 (UTC) Received: from fedora.redhat.com (unknown [10.67.24.34]) by smtp.corp.redhat.com (Postfix) with ESMTP id E3EB01121314; Mon, 12 Jun 2023 05:57:31 +0000 (UTC) From: Kate Hsuan To: Hans de Goede , Mauro Carvalho Chehab , Sakari Ailus , Greg Kroah-Hartman , linux-media@vger.kernel.org, linux-staging@lists.linux.dev Cc: Kate Hsuan Subject: [PATCH v2 0/3] Remove #ifdef ISP2401 and unifying sh_css_sp_group structure Date: Mon, 12 Jun 2023 13:57:15 +0800 Message-Id: <20230612055718.453554-1-hpa@redhat.com> Precedence: bulk X-Mailing-List: linux-staging@lists.linux.dev List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 3.1 on 10.11.54.3 The changes in v2 include: 1. Squashed patches #1 and #3 to resolve the build issue. 2. Introduced a new patch to remove the unused debug codes and variables. 3. Added a NULL pointer check for memory allocation failure. 4. Fixed the memory offset when copying the configuration to the buffer. Kate Hsuan (3): media: atomisp: sh_css_internal: Unifying sh_css_sp_group to remove #ifdef ISP2401 media: atomisp: ia_css_debug: remove unused HAS_WATCHDOG_SP_THREAD_DEBUG codes atomisp: sh_css_params: write the sp_group config according to the ISP model .../pci/hive_isp_css_common/debug_global.h | 7 - .../media/atomisp/pci/ia_css_acc_types.h | 6 +- .../runtime/debug/interface/ia_css_debug.h | 12 -- .../pci/runtime/debug/src/ia_css_debug.c | 165 ------------------ .../media/atomisp/pci/sh_css_internal.h | 41 +---- .../staging/media/atomisp/pci/sh_css_params.c | 41 ++++- 6 files changed, 42 insertions(+), 230 deletions(-) -- 2.40.1