Skip to content

Commit

Permalink
[ARM] 4213/1: S3C2410 - Update definition of ADCTSC_XY_PST
Browse files Browse the repository at this point in the history
Update S3C2410_ADCTSC_XY_PST macro to allow setting the ADCTSC_XY_PST
bits.

Signed-off-by: Arnaud Patard <arnaud.patard@rtp-net.org>
Acked-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
  • Loading branch information
Arnaud Patard authored and Russell King committed Feb 17, 2007
1 parent 72262e8 commit a7eec7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/asm-arm/arch-s3c2410/regs-adc.h
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
#define S3C2410_ADCTSC_XP_SEN (1<<4)
#define S3C2410_ADCTSC_PULL_UP_DISABLE (1<<3)
#define S3C2410_ADCTSC_AUTO_PST (1<<2)
#define S3C2410_ADCTSC_XY_PST (0x3<<0)
#define S3C2410_ADCTSC_XY_PST(x) (((x)&0x3)<<0)

/* ADCDAT0 Bits */
#define S3C2410_ADCDAT0_UPDOWN (1<<15)
Expand Down

0 comments on commit a7eec7b

Please sign in to comment.