ASoC: rt5645: fix error handling for gpio detection
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Wed, 1 Feb 2017 18:27:04 +0000 (12:27 -0600)
committerMark Brown <broonie@kernel.org>
Wed, 1 Feb 2017 18:35:06 +0000 (18:35 +0000)
commitcec55827dde1e87f6b91e34f205744d70a7225bc
tree8b8ea2dcc5c6fabfea56c932630e5bd4c72cb68b
parentda369d0ab58cb21371f84a144084a16df7800783
ASoC: rt5645: fix error handling for gpio detection

Optional gpio handling should not cause an error status and prevent
probing if it's missing.  Remove error return for -ENOENT case and
move error message to dev_info

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/rt5645.c