summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorEddie James <eajames@linux.ibm.com>2020-07-09 22:57:06 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-07-29 11:19:59 +0300
commit04e469ed6c5ed4f2f8d0aa7e1fcb91360a33c907 (patch)
tree6149f5459d50b36e47aed635f4ef52c0c50e0ccd /tools/perf/scripts/python/stackcollapse.py
parent03902f9efb20bfb7b0c775467d59a9d938a8fc85 (diff)
downloadlinux-04e469ed6c5ed4f2f8d0aa7e1fcb91360a33c907.tar.xz
mmc: sdhci-of-aspeed: Fix clock divider calculation
commit ebd4050c6144b38098d8eed34df461e5e3fa82a9 upstream. When calculating the clock divider, start dividing at 2 instead of 1. The divider is divided by two at the end of the calculation, so starting at 1 may result in a divider of 0, which shouldn't happen. Signed-off-by: Eddie James <eajames@linux.ibm.com> Reviewed-by: Andrew Jeffery <andrew@aj.id.au> Acked-by: Joel Stanley <joel@jms.id.au> Acked-by: Adrian Hunter <adrian.hunter@intel.com> Link: https://lore.kernel.org/r/20200709195706.12741-3-eajames@linux.ibm.com Cc: stable@vger.kernel.org # v5.4+ Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions