summaryrefslogtreecommitdiff
path: root/drivers/cpufreq/Makefile
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2011-10-07 08:31:42 (GMT)
committerGreg Kroah-Hartman <gregkh@suse.de>2011-10-11 15:58:59 (GMT)
commita45186c0cdd35e6b79aeeff6e535c5d5c20ac93d (patch)
tree3902d0fd669938c79ceafaf5f82b13f2ee06f5c4 /drivers/cpufreq/Makefile
parent638e59fc8c867b44dfbe20c235df00384814cb5e (diff)
downloadlinux-fsl-qoriq-a45186c0cdd35e6b79aeeff6e535c5d5c20ac93d.tar.xz
staging:iio:dac:ad5638: Fix channel address
Commit c6fc806247 ("staging:iio: ABI rework - add in_ or out_ prefix to channnels") added the AD5868_CHANNEL macro to simplify channel initialization. Unfortunately the macro hardcodes the channel's address to AD5686_ADDR_DAC0. As a result writing to any of the channels will change the value of the first channel. This patch fixes the issue by calculating the channel address based on the channel number. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/cpufreq/Makefile')
0 files changed, 0 insertions, 0 deletions