]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: tas2770: Fix reset gpio property name
authorDan Murphy <dmurphy@ti.com>
Mon, 20 Jul 2020 18:12:02 +0000 (13:12 -0500)
committerMark Brown <broonie@kernel.org>
Tue, 21 Jul 2020 20:57:40 +0000 (21:57 +0100)
commit49279023162e91d1dbd4317f964e51b6256dc9f8
treed092551295a75ff5e4f1dab326254268224782f5
parent381c2a01636a5218ce2518d3ab6d73c9402210d5
ASoC: tas2770: Fix reset gpio property name

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: 8c41a7cb58973 ("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>
sound/soc/codecs/tas2770.c