[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20191007181325.7EAD52741D8E@ypsilon.sirena.org.uk>
Date: Mon, 7 Oct 2019 19:13:25 +0100 (BST)
From: Mark Brown <broonie@...nel.org>
To: Dan Murphy <dmurphy@...com>
Cc: alsa-devel@...a-project.org, broonie@...nel.org,
lgirdwood@...il.com, linux-kernel@...r.kernel.org,
Mark Brown <broonie@...nel.org>, navada@...com, perex@...ex.cz,
shifu0704@...ndersoft.com, tiwai@...e.com
Subject: Applied "ASoc: tas2770: Remove unused defines and variables" to the asoc tree
The patch
ASoc: tas2770: Remove unused defines and variables
has been applied to the asoc tree at
https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-5.5
All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.
You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.
If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.
Please add any relevant lists and maintainers to the CCs when replying
to this mail.
Thanks,
Mark
>From 40f90ef0a77bab65c8f959ba1d264bb674f7234b Mon Sep 17 00:00:00 2001
From: Dan Murphy <dmurphy@...com>
Date: Mon, 7 Oct 2019 12:11:57 -0500
Subject: [PATCH] ASoc: tas2770: Remove unused defines and variables
Remove unused defines and structure variables that are not
referenced by the code. If these are needed for future
enhancements then they should be added at that time.
Signed-off-by: Dan Murphy <dmurphy@...com>
Link: https://lore.kernel.org/r/20191007171157.17813-3-dmurphy@ti.com
Signed-off-by: Mark Brown <broonie@...nel.org>
---
sound/soc/codecs/tas2770.h | 21 ---------------------
1 file changed, 21 deletions(-)
diff --git a/sound/soc/codecs/tas2770.h b/sound/soc/codecs/tas2770.h
index d597a8280707..cbb858369fe6 100644
--- a/sound/soc/codecs/tas2770.h
+++ b/sound/soc/codecs/tas2770.h
@@ -125,40 +125,19 @@
#define ERROR_UNDER_VOLTAGE 0x0000008
#define ERROR_BROWNOUT 0x0000010
#define ERROR_CLASSD_PWR 0x0000020
-#define TAS2770_SLOT_16BIT 16
-#define TAS2770_SLOT_32BIT 32
-#define TAS2770_I2C_RETRY_COUNT 3
-
-struct tas2770_register {
- int book;
- int page;
- int reg;
-};
-
-struct tas2770_dai_cfg {
- unsigned int dai_fmt;
- unsigned int tdm_delay;
-};
struct tas2770_priv {
struct device *dev;
struct regmap *regmap;
- struct snd_soc_codec *codec;
struct snd_soc_component *component;
- struct mutex dev_lock;
- struct hrtimer mtimer;
int power_state;
int asi_format;
struct gpio_desc *reset_gpio;
int sampling_rate;
- int frame_size;
int channel_size;
int slot_width;
int v_sense_slot;
int i_sense_slot;
- bool runtime_suspend;
- unsigned int err_code;
- struct mutex codec_lock;
};
#endif /* __TAS2770__ */
--
2.20.1
Powered by blists - more mailing lists