Benjamin Herrenschmidt 6475a7cce6 drm/ast: Fix calculation of MCLK
Some braces were missing causing an incorrect calculation.

Y.C. Chen from Aspeed provided me with the right formula
which I tested on AST2400 and 2500.

The MCLK isn't currently used by the driver (it will eventually
to filter modes) so the issue isn't catastrophic.

Also make the printed value a bit more meaningful

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Acked-by: Joel Stanley <joel@jms.id.au>
Tested-by: Y.C. Chen <yc_chen@aspeedtech.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
2017-02-28 13:14:22 +10:00
..
2017-02-23 15:57:04 -08:00
2017-02-23 15:57:04 -08:00
2017-02-22 10:30:38 -08:00
2017-02-20 14:23:40 +01:00
2017-02-23 15:57:04 -08:00
2017-02-28 13:14:22 +10:00
2017-02-20 16:42:43 -08:00
2017-02-23 15:57:04 -08:00
2017-02-21 11:51:42 -08:00
2017-02-21 12:04:54 -08:00
2017-02-21 10:57:33 -08:00
2017-02-22 19:23:14 -08:00
2017-02-23 11:53:22 -08:00
2017-02-25 14:35:37 -08:00
2017-02-20 17:23:57 -08:00
2017-02-23 15:57:04 -08:00
2017-02-23 15:57:04 -08:00
2017-02-20 17:55:15 -08:00
2017-02-20 14:22:50 +01:00
2017-02-23 11:26:09 -08:00
2017-02-11 20:59:41 -05:00
2017-02-25 13:20:22 -08:00
2017-02-23 11:53:22 -08:00