From: Greg Kroah-Hartman Date: Wed, 1 Apr 2015 11:51:02 +0000 (+0200) Subject: Merge tag 'iio-fixes-for-4.0d' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23... X-Git-Tag: v4.9.8~4546^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=dce5bdfe8fc1e3b49fa6fcf21e07bb12360e1b98;p=platform%2Fkernel%2Flinux-rpi3.git Merge tag 'iio-fixes-for-4.0d' of git://git./linux/kernel/git/jic23/iio into staging-linus Jonathan writes: IIO fixes for 4.0 set 4 A couple more IIO fixes. * Fix check for HAS_IOMEM in the cc100001_adc driver to avoid build errors. Rather curiously it was ORed with Regulator and clock support. * vf610 driver was trying to use an ADC clock outside the possible spec on some boards. The driver assumed a fixed clock speed previously across all boards, but that is not true. This fix ensures that the reported frequency is correct on all boards. * The adis imu common code directly set the current trigger to the driver supplied one. Unfortunately this didn't increase the use count leading to a double free via a particular path of changing the trigger then removing the driver. --- dce5bdfe8fc1e3b49fa6fcf21e07bb12360e1b98