Revert "coresight: enable and disable STM during probe"

RPM is no longer mucking with STM during init so this workaround
is no longer required.

This reverts commit 946cb81bc1a6c9810bdf02559436b10ffe9055e5.

Change-Id: Iace5d9e98a95bc8fda4fd9d71c1d933b64d42aea
Signed-off-by: Pratik Patel <pratikp@codeaurora.org>
This commit is contained in:
Pratik Patel 2013-01-28 12:01:24 -08:00 committed by Iliyan Malchev
parent 65b716ce65
commit d1fdc3d5b6

View file

@ -768,13 +768,6 @@ static int __devinit stm_probe(struct platform_device *pdev)
dev_info(drvdata->dev, "STM initialized\n");
/*
* Enable and disable STM to undo the temporary default STM enable
* done by RPM.
*/
coresight_enable(drvdata->csdev);
coresight_disable(drvdata->csdev);
if (boot_enable)
coresight_enable(drvdata->csdev);