SSB: Fix handling of ssb_pmu_get_alp_clock()
authorHauke Mehrtens <hauke@hauke-m.de>
Sat, 6 Jun 2015 23:52:51 +0000 (01:52 +0200)
committerRalf Baechle <ralf@linux-mips.org>
Tue, 9 Jun 2015 14:38:06 +0000 (16:38 +0200)
commit36f6ea2b21cce09f4f85a8fca007aa6a927804f7
treeaed1261db4df68165c459d91dcd72a062dcca213
parentd7b631419b3d230a4d383a8c5f5f294f3bc564f9
SSB: Fix handling of ssb_pmu_get_alp_clock()

Dan Carpenter reported missing brackets which resulted in reading a
wrong crystalfreq value. I also noticed that the result of this
function is ignored.

Reported-By: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: Michael Buesch <m@bues.ch>
Cc: davem@davemloft.net
Cc: netdev@vger.kernel.org
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/10536/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
drivers/ssb/driver_chipcommon_pmu.c