1.1 --- a/pkg/devices/lcd/src/jz4740/lcd-jz4740-device.cc Sat Jan 16 23:10:48 2021 +0100
1.2 +++ b/pkg/devices/lcd/src/jz4740/lcd-jz4740-device.cc Sat Jan 16 23:47:39 2021 +0100
1.3 @@ -1,7 +1,7 @@
1.4 /*
1.5 * Common LCD device support for the JZ4740 and related SoCs.
1.6 *
1.7 - * Copyright (C) 2018, 2020 Paul Boddie <paul@boddie.org.uk>
1.8 + * Copyright (C) 2018, 2020, 2021 Paul Boddie <paul@boddie.org.uk>
1.9 *
1.10 * This program is free software; you can redistribute it and/or
1.11 * modify it under the terms of the GNU General Public License as
1.12 @@ -57,7 +57,7 @@
1.13 {
1.14 uint32_t pclk = lcd_chip->get_pixel_clock();
1.15
1.16 - cpm_device->stop_lcd();
1.17 + cpm_device->stop_clock(Clock_lcd);
1.18
1.19 // Original comment: LCDClock > 2.5*Pixclock
1.20 // However, the documentation indicates that a TFT panel needs a device clock
1.21 @@ -66,7 +66,7 @@
1.22
1.23 cpm_device->set_lcd_frequencies(pclk, 3);
1.24 cpm_device->update_output_frequency();
1.25 - cpm_device->start_lcd();
1.26 + cpm_device->start_clock(Clock_lcd);
1.27
1.28 l4_sleep(1); // 1ms == 1000us
1.29 }