From patchwork Wed Mar 23 18:49:47 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: omar ramirez X-Patchwork-Id: 656691 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter1.kernel.org (8.14.4/8.14.3) with ESMTP id p2NJ1IRT014662 for ; Wed, 23 Mar 2011 19:01:19 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932677Ab1CWTBS (ORCPT ); Wed, 23 Mar 2011 15:01:18 -0400 Received: from arroyo.ext.ti.com ([192.94.94.40]:60760 "EHLO arroyo.ext.ti.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932477Ab1CWTBK (ORCPT ); Wed, 23 Mar 2011 15:01:10 -0400 Received: from dlep36.itg.ti.com ([157.170.170.91]) by arroyo.ext.ti.com (8.13.7/8.13.7) with ESMTP id p2NJ19HG030184 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 23 Mar 2011 14:01:09 -0500 Received: from legion.dal.design.ti.com (localhost [127.0.0.1]) by dlep36.itg.ti.com (8.13.8/8.13.8) with ESMTP id p2NJ19gR011004; Wed, 23 Mar 2011 14:01:09 -0500 (CDT) Received: from localhost (bacab.am.dhcp.ti.com [128.247.77.143]) by legion.dal.design.ti.com (8.11.7p1+Sun/8.11.7) with ESMTP id p2NJ19f09245; Wed, 23 Mar 2011 14:01:09 -0500 (CDT) From: Omar Ramirez Luna To: l-o Cc: Omar Ramirez Luna , Fernando Guzman Lugo , Armando Uribe , Felipe Contreras Subject: [PATCH 2/8] staging: tidspbridge: fix resume path from retention Date: Wed, 23 Mar 2011 12:49:47 -0600 Message-Id: <1300906193-1732-3-git-send-email-omar.ramirez@ti.com> X-Mailer: git-send-email 1.7.1 In-Reply-To: <1300906193-1732-1-git-send-email-omar.ramirez@ti.com> References: <1300906193-1732-1-git-send-email-omar.ramirez@ti.com> Sender: linux-omap-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-omap@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.6 (demeter1.kernel.org [140.211.167.41]); Wed, 23 Mar 2011 19:01:19 +0000 (UTC) diff --git a/drivers/staging/tidspbridge/core/tiomap3430_pwr.c b/drivers/staging/tidspbridge/core/tiomap3430_pwr.c index d5245a3..69cc2c4 100644 --- a/drivers/staging/tidspbridge/core/tiomap3430_pwr.c +++ b/drivers/staging/tidspbridge/core/tiomap3430_pwr.c @@ -274,6 +274,10 @@ int wake_dsp(struct bridge_dev_context *dev_context, void *pargs) /* Restart the peripheral clocks */ dsp_clock_enable_all(dev_context->dsp_per_clks); + dsp_wdt_enable(true); + + dev_context->brd_state = BRD_RUNNING; + break; case BRD_HIBERNATION: case BRD_DSP_HIBERNATION: