diff options
author | Sergei Shtylyov <[email protected]> | 2014-09-18 23:33:49 +0400 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2014-09-19 20:43:09 +0200 |
commit | bb98d9d1d2e791f368295c9c09c9a03fe3ac0e62 (patch) | |
tree | cba9ae3ea8c136a404e2dce04b31f9a5f09bcc41 /tools/perf/scripts/python/check-perf-trace.py | |
parent | b9bd7ff8069a7125da897de657da421c497d4f15 (diff) |
mmc: tmio: prevent endless loop in tmio_mmc_set_clock()
I spent a couple of days with the driver just hanging due to me forgetting to
specify the external crystal frequency, so that clk_get_rate() returned 0 and
thus the loop in tmio_mmc_set_clock() never ended. I don't think that's an
acceptable behavior, so I suggest that the minimum frequency is checked for 0
in tmio_mmc_host_probe().
Signed-off-by: Sergei Shtylyov <[email protected]>
Acked-by: Ian Molton <[email protected]>
Cc: [email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions