Files
ubports_kernel_google_msm/drivers/media
insup.choi 9981dd0333 camera: prevent warning in relesing interrupt on ispif
when exiting camera apk, interrupt warning is shown like this
<4>[  271.240836] ------------[ cut here ]------------
<4>[  271.240866] WARNING: at /home/insup.choi/source-ref/apq8064_jb_mako-mr1-check/android/kernel/kernel/irq/manage.c:1219 __free_irq+0x88/0x1a8()
<4>[  271.240866] Trying to free already-free IRQ 199
<4>[  271.240866] Modules linked in:
<4>[  271.240897] [<c00143a0>] (unwind_backtrace+0x0/0x11c) from [<c006f818>] (warn_slowpath_common+0x4c/0x64)
<4>[  271.240927] [<c006f818>] (warn_slowpath_common+0x4c/0x64) from [<c006f8b0>] (warn_slowpath_fmt+0x2c/0x3c)
<4>[  271.240927] [<c006f8b0>] (warn_slowpath_fmt+0x2c/0x3c) from [<c00c01d0>] (__free_irq+0x88/0x1a8)
<4>[  271.240958] [<c00c01d0>] (__free_irq+0x88/0x1a8) from [<c00c03d4>] (free_irq+0xe4/0x134)
<4>[  271.240958] [<c00c03d4>] (free_irq+0xe4/0x134) from [<c045ca48>] (msm_ispif_subdev_ioctl+0x51c/0x5e4)
<4>[  271.240988] [<c045ca48>] (msm_ispif_subdev_ioctl+0x51c/0x5e4) from [<c044e8c8>] (msm_mctl_cmd+0x9ec/0xb74)
<4>[  271.240988] [<c044e8c8>] (msm_mctl_cmd+0x9ec/0xb74) from [<c0455c4c>](msm_ioctl_config+0x6a4/0x774)
<4>[  271.241019] [<c0455c4c>] (msm_ioctl_config+0x6a4/0x774) from [<c0131588>] (do_vfs_ioctl+0x4d8/0x54c)
<4>[  271.241019] [<c0131588>] (do_vfs_ioctl+0x4d8/0x54c) from [<c0131630>](sys_ioctl+0x34/0x54)
<4>[  271.241049] [<c0131630>] (sys_ioctl+0x34/0x54) from [<c000dec0>] (ret_fast_syscall+0x0/0x30)
<4>[  271.241049] ---[ end trace a229d1aac3cbf7ea ]---
this patch is for fixing this problem.

Change-Id: Ia48b9e2825a9d95deb4eecdac8903eafcb6ad7ae
2013-03-04 12:46:11 -08:00
..