]> 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)
commit0a2623d64243edf00964dd69892acde3a7de60e9
treeaed1261db4df68165c459d91dcd72a062dcca213
parentaeea8b6ec168193e28c2fa80eae08d5c8bb5f002
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