[PORT FROM R2] atomisp: ISR and workqueue are out of sync
authorDavid Cohen <david.a.cohen@intel.com>
Wed, 2 Nov 2011 09:38:28 +0000 (11:38 +0200)
committerbuildbot <buildbot@intel.com>
Mon, 19 Dec 2011 13:28:15 +0000 (05:28 -0800)
commit348992c4dbe94e2919a9a7eedb1e851c9b320348
tree81f24b2fd893d329e316ce0c21e39d448051d5aa
parent898e2b270ca5ad17a8ab43b6e47d84e68bd23ee2
[PORT FROM R2] atomisp: ISR and workqueue are out of sync

BZ: 17272

Atomisp's ISR sets isp->irq_infos everytime an interrupt happens
overwritting previous value. If workqueue didn't have time to check
previous interrupt, the driver will ignore it. This patch fixes this
issue.

Change-Id: Ie905e5dbc924c187f9c47bdffc70ae6a3443080a
Orig-Change-Id: I1706ada8ef53ec4d447cd184c7a232a7cb96e3ab
Signed-off-by: David Cohen <david.a.cohen@intel.com>
Reviewed-on: http://android.intel.com:8080/23195
Reviewed-by: Wang, Wen W <wen.w.wang@intel.com>
Reviewed-by: Koski, Anttu <anttu.koski@intel.com>
Tested-by: Koski, Anttu <anttu.koski@intel.com>
Reviewed-by: Koskinen, Ilkka <ilkka.koskinen@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
Reviewed-on: http://android.intel.com:8080/27994
Reviewed-by: Tuominen, TeemuX <teemux.tuominen@intel.com>
drivers/media/video/atomisp/atomisp_cmd.c