Message ID | 20200214105744.82258-4-tzungbi@google.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | ASoC: max98090: revert invalid fixes | expand |
On Fri, Feb 14, 2020 at 06:57:44PM +0800, Tzung-Bi Shih wrote:
> Reverts commit fb5126778333 ("ASoC: core: add SND_SOC_BYTES_E").
Not sure I see any great need to do this - it's not doing any harm and
something else might come along which could use it.
diff --git a/include/sound/soc.h b/include/sound/soc.h index f0e4f36f83bf..1af4f9413faf 100644 --- a/include/sound/soc.h +++ b/include/sound/soc.h @@ -299,12 +299,6 @@ .put = snd_soc_bytes_put, .private_value = \ ((unsigned long)&(struct soc_bytes) \ {.base = xbase, .num_regs = xregs }) } -#define SND_SOC_BYTES_E(xname, xbase, xregs, xhandler_get, xhandler_put) \ -{ .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \ - .info = snd_soc_bytes_info, .get = xhandler_get, \ - .put = xhandler_put, .private_value = \ - ((unsigned long)&(struct soc_bytes) \ - {.base = xbase, .num_regs = xregs }) } #define SND_SOC_BYTES_MASK(xname, xbase, xregs, xmask) \ { .iface = SNDRV_CTL_ELEM_IFACE_MIXER, .name = xname, \
Reverts commit fb5126778333 ("ASoC: core: add SND_SOC_BYTES_E"). Signed-off-by: Tzung-Bi Shih <tzungbi@google.com> --- include/sound/soc.h | 6 ------ 1 file changed, 6 deletions(-)