Skip to contentSkip to conversation

fbdev: omapfb: Remove unused hdmi5_core_handle_irqs

PATCH Applied [email protected] 2 participants 2 messages Dec 18, 2024 – Dec 22, 2024

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 fbdev: omapfb: Remove unused hdmi5_core_handle_irqs

From: "Dr. David Alan Gilbert" <[email protected]>

hdmi5_core_handle_irqs() has been unused since commit f5bab2229190 ("OMAPDSS: HDMI: Add OMAP5 HDMI support")

Remove it.

---
 .../video/fbdev/omap2/omapfb/dss/hdmi5_core.c   | 17 -----------------
 .../video/fbdev/omap2/omapfb/dss/hdmi5_core.h   |  1 -
 2 files changed, 18 deletions(-)
drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.c +0 -17
index b33f62c5cb22..bb7fe54dd019 100644
@@ -567,23 +567,6 @@ static void hdmi_core_enable_interrupts(struct hdmi_core_data *core)
 	REG_FLD_MOD(core->base, HDMI_CORE_IH_MUTE, 0x0, 1, 0);
 }
 
-int hdmi5_core_handle_irqs(struct hdmi_core_data *core)
-{
-	void __iomem *base = 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)
 {
drivers/video/fbdev/omap2/omapfb/dss/hdmi5_core.h +0 -1
index 192c9b6e2f7b..493857374a15 100644
@@ -283,7 +283,6 @@ struct csc_table {
 
 int hdmi5_read_edid(struct hdmi_core_data *core, u8 *edid, int len);
 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 *core);
Signature · 1 line
2.47.1
maintainer Applied
#1 lore raw
Quoted 5 lines · On 12/18/24 02:59, [email protected] wrote:

From: "Dr. David Alan Gilbert" <[email protected]>

hdmi5_core_handle_irqs() has been unused since commit f5bab2229190 ("OMAPDSS: HDMI: Add OMAP5 HDMI support")

Quoted 7 lines

Remove it.

---
  .../video/fbdev/omap2/omapfb/dss/hdmi5_core.c   | 17 -----------------
  .../video/fbdev/omap2/omapfb/dss/hdmi5_core.h   |  1 -
  2 files changed, 18 deletions(-)

applied.

Thanks!
Helge