From nobody Thu Dec 18 07:54:11 2025 Received: from mx.treblig.org (mx.treblig.org [46.235.229.95]) (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 ACAE335970 for ; Wed, 18 Dec 2024 02:01:32 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=46.235.229.95 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734487294; cv=none; b=FW64bfXUaR4zXhSNZ6K3TsjLFFv4ef99BnV57inDRsXIZxQK5Sw0F/AMg1SzzeGDuSmjIpWEX4XXQQ7L7Urt7S+i8Q0zf7VrsCFP2SoUJsXWAjIBJoiLYH0G4uZ8QPahktft6wRWD4/8liCY1RspBvg8EpN++2vL9mUl3nGowdk= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1734487294; c=relaxed/simple; bh=OUDZSjcc1kQwIWpyUInuoFLw5mn+jaz8PBOdTTnqzWA=; h=From:To:Cc:Subject:Date:Message-ID:MIME-Version; b=A1vMtvTwClvHrjNA84ldw/CDDOzGpEuoJM3MyF8H/tlvUGSYoGP8nrF4B99e3Kew5CjRtFqEPCDV9n6GUsV/NDeCMbdYQNNK3+tU2vQoi7aMCOdcG+ONh4ozHl7LH4X4udLo4imHgEzYHKTG7dvkQsHjVotaGh8uhrQMc/ox+wE= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org; spf=pass smtp.mailfrom=treblig.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b=opR4lpxn; arc=none smtp.client-ip=46.235.229.95 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=treblig.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=treblig.org Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=treblig.org header.i=@treblig.org header.b="opR4lpxn" DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=treblig.org ; s=bytemarkmx; h=MIME-Version:Message-ID:Date:Subject:From:Content-Type:From :Subject; bh=Qh0nWV41X9SryCodaXXT0A6zUdLXy8TkuLue1NyLu8w=; b=opR4lpxnI5RG5RTd 087i1mpbbAzJh/MvjVCIrzuaPgorloDdpemzBc33M+1361Zvv4GBqkd+gnQ6zjfBNS6z+D/erqriW lxOvRjmgvTkxVdEmcla4VKHdxnl1qQ7QlojY9nGCHHjNVZ2eRolWFOTrA26BKiIyhLIk/AAfngW3y WK8fOybMTiIxpjRmHZ1vVOB42PeEx88aYJpwnghwhPy7p42eP31mExDkFV2pNaKBcQCpoSiti1bUu T4WPd/4xQGinSLoNyy8671ddMgj3tRu8i0JBEojJAYzEsoIInQZP4+Rx3BfOiTLBW1mYxi223JWUX OzYSJdDfxE6I3o7rEQ==; Received: from localhost ([127.0.0.1] helo=dalek.home.treblig.org) by mx.treblig.org with esmtp (Exim 4.96) (envelope-from ) id 1tNjNN-0060St-1q; Wed, 18 Dec 2024 02:01:25 +0000 From: linux@treblig.org To: tomi.valkeinen@ideasonboard.com, maarten.lankhorst@linux.intel.com, mripard@kernel.org, tzimmermann@suse.de, simona@ffwll.ch, airlied@gmail.com Cc: dri-devel@lists.freedesktop.org, linux-kernel@vger.kernel.org, "Dr. David Alan Gilbert" Subject: [PATCH] drm/omap: Remove hdmi5_core_handle_irqs() Date: Wed, 18 Dec 2024 02:01:24 +0000 Message-ID: <20241218020124.278925-1-linux@treblig.org> X-Mailer: git-send-email 2.47.1 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" From: "Dr. David Alan Gilbert" hdmi5_core_handle_irqs() is a function that was copied from omapdss by commit f76ee892a99e ("omapfb: copy omapdss & displays for omapfb") but it wasn't used in the original anyway. Remove it. Signed-off-by: Dr. David Alan Gilbert --- drivers/gpu/drm/omapdrm/dss/hdmi5_core.c | 17 ----------------- drivers/gpu/drm/omapdrm/dss/hdmi5_core.h | 1 - 2 files changed, 18 deletions(-) diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c b/drivers/gpu/drm/oma= pdrm/dss/hdmi5_core.c index 21564c38234f..12ef47cd232b 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.c @@ -545,23 +545,6 @@ static void hdmi_core_enable_interrupts(struct hdmi_co= re_data *core) REG_FLD_MOD(core->base, HDMI_CORE_IH_MUTE, 0x0, 1, 0); } =20 -int hdmi5_core_handle_irqs(struct hdmi_core_data *core) -{ - void __iomem *base =3D core->base; - - REG_FLD_MOD(base, HDMI_CORE_IH_FC_STAT0, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_FC_STAT1, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_FC_STAT2, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_AS_STAT0, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_PHY_STAT0, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_I2CM_STAT0, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_CEC_STAT0, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_VP_STAT0, 0xff, 7, 0); - REG_FLD_MOD(base, HDMI_CORE_IH_I2CMPHY_STAT0, 0xff, 7, 0); - - return 0; -} - void hdmi5_configure(struct hdmi_core_data *core, struct hdmi_wp_data *wp, struct hdmi_config *cfg) { diff --git a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.h b/drivers/gpu/drm/oma= pdrm/dss/hdmi5_core.h index 070cbf5fb57d..b8ed21156e8c 100644 --- a/drivers/gpu/drm/omapdrm/dss/hdmi5_core.h +++ b/drivers/gpu/drm/omapdrm/dss/hdmi5_core.h @@ -286,7 +286,6 @@ int hdmi5_core_ddc_read(void *data, u8 *buf, unsigned i= nt block, size_t len); void hdmi5_core_ddc_uninit(struct hdmi_core_data *core); =20 void hdmi5_core_dump(struct hdmi_core_data *core, struct seq_file *s); -int hdmi5_core_handle_irqs(struct hdmi_core_data *core); void hdmi5_configure(struct hdmi_core_data *core, struct hdmi_wp_data *wp, struct hdmi_config *cfg); int hdmi5_core_init(struct platform_device *pdev, struct hdmi_core_data *c= ore); --=20 2.47.1