1.1 --- a/pkg/devices/lib/lcd/src/jz4740/lcd-jz4740.cc Sat Dec 26 23:19:06 2020 +0100
1.2 +++ b/pkg/devices/lib/lcd/src/jz4740/lcd-jz4740.cc Sat Dec 26 23:21:46 2020 +0100
1.3 @@ -103,9 +103,7 @@
1.4 Lcd_jz4740_chip::enable()
1.5 {
1.6 // Clear the disable bit and set the enable bit.
1.7 - // JZ4780: OSD status set.
1.8
1.9 - _regs[Osd_status] = 0;
1.10 _regs[Lcd_status] = 0;
1.11 _regs[Lcd_control] = (_regs[Lcd_control] & ~(1U << Control_disable)) | (1U << Control_enable);
1.12 }
1.13 @@ -421,15 +419,6 @@
1.14 ((_irq_conditions & Lcd_irq_frame_end) ? (1U << Control_frame_end_irq_enable) : 0);
1.15 }
1.16
1.17 -// Return an interrupt-related OSD configuration value.
1.18 -
1.19 -uint32_t
1.20 -Lcd_jz4740_chip::_osd_config_irq()
1.21 -{
1.22 - return ((_irq_conditions & Lcd_irq_frame_start) ? (1U << Osd_config_fg0_frame_start_irq_enable) : 0) |
1.23 - ((_irq_conditions & Lcd_irq_frame_end) ? (1U << Osd_config_fg0_frame_end_irq_enable) : 0);
1.24 -}
1.25 -
1.26 // Return an interrupt-related command value.
1.27
1.28 uint32_t