aboutsummaryrefslogtreecommitdiff
path: root/scripts/gdb/linux/dmesg.py
diff options
context:
space:
mode:
authorAlexander Sverdlin <[email protected]>2015-06-09 12:58:29 +0200
committerWolfram Sang <[email protected]>2015-06-10 22:08:36 +0900
commit72a956c556b68aa2a9c2c64f5a7b9e50f7bf67e1 (patch)
tree260c4e159fc217c8c853b7e7c944dd598ec85d06 /scripts/gdb/linux/dmesg.py
parentdd1aa2524bc55345ede0b13853c54e1b0be22b9f (diff)
i2c: davinci: Refactor i2c_davinci_wait_bus_not_busy()
There are several problems in the function: - "to_cnt" variable does nothing - schedule_timeout() call without setting current state does nothing - "allow_sleep" parameter is not really used Refactor the function so that it really tries to wait. In case of timeout try to recover the bus. Signed-off-by: Alexander Sverdlin <[email protected]> Signed-off-by: Wolfram Sang <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/dmesg.py')
0 files changed, 0 insertions, 0 deletions