From: Lad, Prabhakar Date: Fri, 14 Sep 2012 13:22:24 +0000 (-0300) Subject: [media] davinci: vpif: capture/display: fix race condition X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~121 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9e18404adac2e8396335eb8e4cb380f619186042;p=pandora-kernel.git [media] davinci: vpif: capture/display: fix race condition channel_first_int[][] variable is used as a flag for the ISR, This flag was being set after enabling the interrupts, There where situations when the isr occurred even before the flag was set dues to which it was causing the application hang. This patch sets channel_first_int[][] flag just before enabling the interrupt. Reported-by: David Oleszkiewicz Signed-off-by: Lad, Prabhakar Signed-off-by: Manjunath Hadli Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed