ARM: etm: Wait for etm/ptm(s) to stop before requesting PowerDown
authorArve Hjønnevåg <arve@android.com>
Thu, 29 Mar 2012 04:03:13 +0000 (21:03 -0700)
committerArve Hjønnevåg <arve@android.com>
Mon, 1 Jul 2013 20:40:40 +0000 (13:40 -0700)
commitfaecbe40e70ecbfde9dfbcf12d6334d4c7706949
treef2643ce21c9aca5ab536e41a607fd9080e7540f1
parent88bcb8eabbd0ec09d14831c7a6bf476c713c1461
ARM: etm: Wait for etm/ptm(s) to stop before requesting PowerDown

When PowerDown was requested at the same time as ProgBit, the
formatter flush command that follows could get stuck.

Change-Id: Iafb665f61f055819e64ca1dcb60398c656f593e4
Signed-off-by: Arve Hjønnevåg <arve@android.com>
arch/arm/kernel/etm.c