]> git.karo-electronics.de Git - mv-sheeva.git/commit
ARM: SAMSUNG: Fix mux bit modification in s3c_adc_select
authorHeiko Stuebner <heiko@sntech.de>
Wed, 12 Oct 2011 12:34:11 +0000 (21:34 +0900)
committerKukjin Kim <kgene.kim@samsung.com>
Wed, 12 Oct 2011 12:34:41 +0000 (21:34 +0900)
commitdf303e0236417ca006e04116f18641dbe4bd704a
tree3f63e46d5ee3068a0eded3394ef3adfb6cf6788b
parent18c55cd466c12ede49638822d3a71eb1f24e0d25
ARM: SAMSUNG: Fix mux bit modification in s3c_adc_select

The mux bits in the adccon register should be cleared only
if muxing is really done in ADCCON and not another register.

This patch introduces a conditional for this.

Signed-off-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
arch/arm/plat-samsung/adc.c