summaryrefslogtreecommitdiffstats
path: root/drivers/spi/spi-sh.c
diff options
context:
space:
mode:
authorGirish K S <girishks2000@gmail.com>2013-03-13 07:43:30 +0100
committerMark Brown <broonie@opensource.wolfsonmicro.com>2013-04-01 15:02:18 +0200
commit375981f2e14868be16cafbffd34a4f16a6ee01c6 (patch)
tree966ce16e7653ff4add091acb6c721620d808ffa5 /drivers/spi/spi-sh.c
parentspi/bcm63xx: don't disable non enabled clocks in probe error path (diff)
downloadlinux-375981f2e14868be16cafbffd34a4f16a6ee01c6.tar.xz
linux-375981f2e14868be16cafbffd34a4f16a6ee01c6.zip
spi/s3c64xx: modified error interrupt handling and init
The status of the interrupt is available in the status register, so reading the clear pending register and writing back the same value will not actually clear the pending interrupts. This patch modifies the interrupt handler to read the status register and clear the corresponding pending bit in the clear pending register. Modified the hwInit function to clear all the pending interrupts. Signed-off-by: Girish K S <ks.giri@samsung.com> Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Cc: stable@vger.kernel.org
Diffstat (limited to 'drivers/spi/spi-sh.c')
0 files changed, 0 insertions, 0 deletions