Blackfin: bf538: add bfin_clear_PPI_STATUS() helper
authorBarry Song <barry.song@analog.com>
Mon, 13 Jul 2009 04:16:42 +0000 (04:16 +0000)
committerMike Frysinger <vapier@gentoo.org>
Thu, 17 Sep 2009 01:31:47 +0000 (21:31 -0400)
Add the bf538 version of bfin_clear_PPI_STATUS() to match all other ports.

Signed-off-by: Barry Song <barry.song@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
arch/blackfin/mach-bf538/include/mach/cdefBF538.h

index 99ca3f4305e2fd233a86a4cf34e5e9a89492d610..1de67515dc9d3ef7f4fc8b89e9fe290d4d9dfa43 100644 (file)
 #define bfin_write_PPI_CONTROL(val)    bfin_write16(PPI_CONTROL, val)
 #define bfin_read_PPI_STATUS()         bfin_read16(PPI_STATUS)
 #define bfin_write_PPI_STATUS(val)     bfin_write16(PPI_STATUS, val)
+#define bfin_clear_PPI_STATUS()        bfin_read_PPI_STATUS()
 #define bfin_read_PPI_DELAY()          bfin_read16(PPI_DELAY)
 #define bfin_write_PPI_DELAY(val)      bfin_write16(PPI_DELAY, val)
 #define bfin_read_PPI_COUNT()          bfin_read16(PPI_COUNT)