]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
iio: fix iio channel get issue
authorwahsu <wahsu@nvidia.com>
Mon, 24 Mar 2014 09:50:40 +0000 (17:50 +0800)
committerRiham Haidar <rhaidar@nvidia.com>
Tue, 25 Mar 2014 19:14:25 +0000 (12:14 -0700)
commitd619ade02ecf1b1690aef934bd749c13083f092a
tree4df5aa04f6cc63c5d45c08108af6605810f274a4
parenta06d6d9eb47428e8a7be09c988fe83cff260acd0
iio: fix iio channel get issue

We should fall back to get the channel by consumer_dev_name, if there is no
channel name on device node in device tree.

Change-Id: I5ee9147c991f5812a97d676d78299a8fcc0205cc
Signed-off-by: wahsu <wahsu@nvidia.com>
Reviewed-on: http://git-master/r/385560
Reviewed-by: Robert Shih <rshih@nvidia.com>
Reviewed-by: Laxman Dewangan <ldewangan@nvidia.com>
drivers/iio/inkern.c