ASoC: sta529: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA functionality check
PATCH 1/1 ASoC: sta529: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA functionality check
This checking is done by regmap_get_i2c_bus() which is called in devm_regmap_init_i2c().
--- sound/soc/codecs/sta529.c | 3 --- 1 file changed, 3 deletions(-)
sound/soc/codecs/sta529.c +0 -3
@@ -339,9 +339,6 @@ static int sta529_i2c_probe(struct i2c_client *i2c,struct sta529 *sta529;int ret; -if (!i2c_check_functionality (i2c->adapter,I2C_FUNC_SMBUS_BYTE_DATA )) -return -EINVAL ; - sta529 =devm_kzalloc (&i2c->dev,sizeof (struct sta529 ),GFP_KERNEL );if (!sta529)return -ENOMEM ;
Signature · 1 line
2.1.0
Mark Brown
maintainerApplied "ASoC: sta529: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA functionality check" to the asoc tree
The patch
ASoC: sta529: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA functionality check
has been applied to the asoc tree at
git://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git
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
Quoted 1 line
From
97a747117d95b54fe3ce21d43e04499a1671fff6Mon Sep 17 00:00:00 2001
From: Axel Lin <[email protected]>
Date: Fri, 24 Jul 2015 11:17:28 +0800
Subject: [PATCH] ASoC: sta529: Remove redundant I2C_FUNC_SMBUS_BYTE_DATA
functionality check
This checking is done by regmap_get_i2c_bus() which is called in devm_regmap_init_i2c().
--- sound/soc/codecs/sta529.c | 3 --- 1 file changed, 3 deletions(-)
sound/soc/codecs/sta529.c +0 -3
@@ -339,9 +339,6 @@ static int sta529_i2c_probe(struct i2c_client *i2c,struct sta529 *sta529;int ret; -if (!i2c_check_functionality (i2c->adapter,I2C_FUNC_SMBUS_BYTE_DATA )) -return -EINVAL ; - sta529 =devm_kzalloc (&i2c->dev,sizeof (struct sta529 ),GFP_KERNEL );if (!sta529)return -ENOMEM ;
Signature · 1 line
2.1.4