ASoC: tas2770: Fix reset gpio property name
authorDan Murphy <dmurphy@ti.com>
Mon, 20 Jul 2020 18:12:02 +0000 (13:12 -0500)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 19 Aug 2020 06:23:59 +0000 (08:23 +0200)
commit5056c95ba7fb6f610811127d96bd5e4199a7cea3
tree28c0541b1e337ae87cd11e2a1998f4447c3dd89b
parent56afb378cbf620b47e115b36ea40ed7468d14edd
ASoC: tas2770: Fix reset gpio property name

[ Upstream commit 58b868f51d6e38146e44cb09fcd92b5fc35d83bc ]

Fix the reset property name when allocating the GPIO descriptor.
The gpiod_get_optional appends either the -gpio or -gpios suffix to the
name.

Fixes: 1a476abc723e6 ("tas2770: add tas2770 smart PA kernel driver")
Signed-off-by: Dan Murphy <dmurphy@ti.com>
Link: https://lore.kernel.org/r/20200720181202.31000-2-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
sound/soc/codecs/tas2770.c