Add patch dspbridge_new_api.diff which bring support for CONFIG_BRIDGE_NEW_API
authorPali Rohár <pali.rohar@gmail.com>
Sat, 1 Oct 2011 20:54:12 +0000 (22:54 +0200)
committerPali Rohár <pali.rohar@gmail.com>
Sat, 1 Oct 2011 21:31:54 +0000 (23:31 +0200)
kernel-power-2.6.28/debian/patches/dspbridge_new_api.diff [new file with mode: 0644]
kernel-power-2.6.28/debian/patches/series

diff --git a/kernel-power-2.6.28/debian/patches/dspbridge_new_api.diff b/kernel-power-2.6.28/debian/patches/dspbridge_new_api.diff
new file mode 100644 (file)
index 0000000..fa0d5f4
--- /dev/null
@@ -0,0 +1,26 @@
+--- kernel-power-2.6.28/drivers/dsp/bridge/Makefile    2011-09-26 21:52:59.000000000 +0100
++++ kernel-power-2.6.28.new/drivers/dsp/bridge/Makefile        2011-09-24 16:39:00.000000000 +0100
+@@ -25,6 +25,11 @@
+ ccflags-y += -DGT_TRACE
+ endif
++#New API
++ifeq ($(CONFIG_BRIDGE_NEW_API),y)
++ccflags-y += -DCONFIG_BRIDGE_NEW_API
++endif
++
+ #Machine dependent
+ ccflags-y += -D_TI_ -D_DB_TIOMAP -DTMS32060 \
+               -DTICFG_PROC_VER -DTICFG_EVM_TYPE -DCHNL_SMCLASS \
+--- kernel-power-2.6.28/drivers/dsp/bridge/Kconfig     2011-09-26 21:48:34.000000000 +0100
++++ kernel-power-2.6.28.new/drivers/dsp/bridge/Kconfig 2011-09-24 17:03:05.000000000 +0100
+@@ -45,3 +45,9 @@
+         Enable notifications to registered clients on the event of power errror
+         trying to suspend bridge driver. Say Y, to signal this event as a fatal
+         error, this will require a bridge restart to recover.
++
++config BRIDGE_NEW_API
++      bool "DSP Bridge new API"
++      depends on MPU_BRIDGE
++      help
++        Say Y to enable Bridge new API(ioctl codes)
index 7a02295..4423891 100644 (file)
@@ -47,12 +47,13 @@ wl12xx-rx-fix.diff
 anti-io-stalling.diff
 joikuspot.diff
 dspbridge.diff
+dspbridge_ioctl_buffer_overrun.diff
+dspbridge_new_api.diff
 phys_to_page.diff
 ext4-data-corruption.diff
 patch_swap_notify_core_support_2.6.28.diff
 class10sd_dto14_fix.diff
 adding-ramzswap-driver.diff
-dspbridge_ioctl_buffer_overrun.diff
 patch_swap_notify_core_support_2_2.6.28.diff
 update_mmu_cache_arm.diff
 radio-si4713.diff