]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00237678 IPUv3:Clean up sync and error interrupt
authorLiu Ying <Ying.liu@freescale.com>
Wed, 19 Dec 2012 06:46:06 +0000 (14:46 +0800)
committerLothar Waßmann <LW@KARO-electronics.de>
Fri, 24 May 2013 06:35:48 +0000 (08:35 +0200)
commitbbbd1b6cafeb51d906de03335922f76b71452eff
tree2bd57c76995d71bf9549aced9b4f8cb9598b3eda
parent1e28c6392f1898a56d93830c46b5d650e7bfc038
ENGR00237678 IPUv3:Clean up sync and error interrupt

1) Split sync and error interrupt handler into 2 different
   handlers, so that we may save several CPU cycles to
   handler sync interrupt which is triggered in most IPU
   usecases.
2) So far, every IPUv3 version in different SoCs has sync
   and error interrupts, so we return -ENODEV if they cannot
   be gotten from platform resource. Then, we may request
   them directly but do not check more.
3) Clean up free irq code by removing unnecessary check.

Signed-off-by: Liu Ying <Ying.Liu@freescale.com>
(cherry picked from commit a88d2aa8f89d868474e75ea46032f7c40c42c57b)
drivers/mxc/ipu3/ipu_common.c