[PATCH v2 12/32] OMAP: PM: DMA context save/restore for off-mode support

Kevin Hilman khilman at deeprootsystems.com
Fri Oct 23 13:33:56 EDT 2009


Grazvydas Ignotas <notasas at gmail.com> writes:

>>  static int __init omap_init_dma(void)
>> diff --git a/arch/arm/plat-omap/include/plat/dma.h b/arch/arm/plat-omap/include/plat/dma.h
>> old mode 100644
>> new mode 100755
>
> ^^ whoops?
>

Good catch, I'll fix this up in my pm-off branch.

Kevin

>> index 72f680b..1c017b2
>> --- a/arch/arm/plat-omap/include/plat/dma.h
>> +++ b/arch/arm/plat-omap/include/plat/dma.h
>> @@ -633,6 +633,11 @@ extern void omap_set_dma_dst_endian_type(int lch, enum end_type etype);
>>  extern void omap_set_dma_src_endian_type(int lch, enum end_type etype);
>>  extern int omap_get_dma_index(int lch, int *ei, int *fi);
>>
>> +void omap_dma_global_context_save(void);
>> +void omap_dma_global_context_restore(void);
>> +
>> +extern void omap_dma_disable_irq(int lch);
>> +
>>  /* Chaining APIs */
>>  #ifndef CONFIG_ARCH_OMAP1
>>  extern int omap_request_dma_chain(int dev_id, const char *dev_name,
>> --
>> 1.6.4.3
>>
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-omap" in
>> the body of a message to majordomo at vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>



More information about the linux-arm-kernel mailing list