Commit 0f4b6912b45ef250e592c58e2247ee13300debf6

Authored by ShankarMurthy, Akshay
Committed by Satyanarayana Sandhya
1 parent 0fa718a62a

ARM: OMAP2+: AM33xx: Enable loss of context callback for mcasp

This patch adds context loss related platform data for mcasp.
This allows mcasp driver to check for the loss of context depending upon
the status it will decide whether to restore or not.

Signed-off-by: ShankarMurthy, Akshay <akshay.s@ti.com>

Showing 1 changed file with 4 additions and 0 deletions Side-by-side Diff

arch/arm/mach-omap2/board-am335xevm.c
... ... @@ -184,6 +184,8 @@
184 184 .version = MCASP_VERSION_3,
185 185 .txnumevt = 32,
186 186 .rxnumevt = 32,
  187 + .get_context_loss_count =
  188 + omap_pm_get_dev_context_loss_count,
187 189 };
188 190  
189 191 static u8 am335x_evm_sk_iis_serializer_direction1[] = {
... ... @@ -203,6 +205,8 @@
203 205 .asp_chan_q = EVENTQ_2,
204 206 .version = MCASP_VERSION_3,
205 207 .txnumevt = 32,
  208 + .get_context_loss_count =
  209 + omap_pm_get_dev_context_loss_count,
206 210 };
207 211  
208 212 static struct omap2_hsmmc_info am335x_mmc[] __initdata = {