sunxi: video: Use sunxi_lcdc_get_clk_delay to calculate tcon1 delay
authorHans de Goede <hdegoede@redhat.com>
Wed, 24 Dec 2014 18:50:11 +0000 (19:50 +0100)
committerHans de Goede <hdegoede@redhat.com>
Wed, 14 Jan 2015 13:56:39 +0000 (14:56 +0100)
commit6741cc78bb66d3be9418c8ffbd1ad162bdce6081
treed06453a728838773c8d417ccb177e7b02e1d60a9
parentb98d04803099c6e5eb4b73d80a17b1d2d8b7b9a9
sunxi: video: Use sunxi_lcdc_get_clk_delay to calculate tcon1 delay

Use sunxi_lcdc_get_clk_delay to calculate tcon1 delay instead of hardcoding
it to 30. We will still end up using 30 for most modes, but for e.g. 800x600
this makes a (small) difference.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Acked-by: Ian Campbell <ijc@hellion.org.uk>
drivers/video/sunxi_display.c