gpu: pvr: more accurate error reporting when clk_set_rate fails
authorImre Deak <imre.deak@nokia.com>
Wed, 28 Apr 2010 12:02:19 +0000 (15:02 +0300)
committerGrazvydas Ignotas <notasas@gmail.com>
Sun, 20 May 2012 18:09:41 +0000 (21:09 +0300)
commitbf66695eea3a27c4fa6c34235a75394a710bae4d
tree91ad6b8e8c2a2f0b3f6abee4deda6143c0d17e91
parent226538dec845e49f15c52e7fe29459bc756dd825
gpu: pvr: more accurate error reporting when clk_set_rate fails

We reported a rounded-down MHz value when clk_set_rate failed,
but this didn't make the reason clear when the Hz value didn't
match exactly any supported rate. So report Hz values instead.

Signed-off-by: Imre Deak <imre.deak@nokia.com>
pvr/sysutils.c