]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit27947cee5ac1a5ad489565c1e0ccd2c34784ffaf
treeaed1261db4df68165c459d91dcd72a062dcca213
parentc82f898e676f8c020f389a1481fbf1025fdd06d3
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