X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=sound%2Fsoc%2Fcodecs%2Fsta529.c;h=2cdaca943a8c488fceea517165f07aa0d47c8b60;hb=fac33bfdb0a54e149f8d1c2f002de5b57770b84c;hp=3430f444c1aeeef69bc79f39c3bb475cb637fdc1;hpb=b18fec9fe42846784e1744e6bd6c754751e1d172;p=deliverable%2Flinux.git diff --git a/sound/soc/codecs/sta529.c b/sound/soc/codecs/sta529.c index 3430f444c1ae..2cdaca943a8c 100644 --- a/sound/soc/codecs/sta529.c +++ b/sound/soc/codecs/sta529.c @@ -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;