From: Jonathan Cameron Date: Fri, 2 Sep 2011 16:14:37 +0000 (+0100) Subject: staging:iio:various move default scan mask setting after ring register or remove X-Git-Tag: v3.2-rc1~169^2^2~728 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bd94c6a8a6d3499e857002b1f445162fba941029;p=pandora-kernel.git staging:iio:various move default scan mask setting after ring register or remove The scan mask will be dynamically assigned in register, so don't use it before that. In adis16260 I've moved it as I know this driver has userspace code. Same for sca3000 where it is cost free due to hardware buffer. Can do that for the others, but in theory userspace code should always have been checking these and setting them appropriately anyway! V2: Clear default mask out of adis16400 as reported by Michael Signed-off-by: Jonathan Cameron Reported-by: Michael Hennerich Acked-by: Michael Hennerich Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed