drm/i2c: tda998x: remove complexity from tda998x_audio_get_eld()
authorRussell King <rmk+kernel@armlinux.org.uk>
Sun, 23 Oct 2016 10:31:44 +0000 (11:31 +0100)
committerRussell King <rmk+kernel@armlinux.org.uk>
Fri, 18 Nov 2016 00:00:40 +0000 (00:00 +0000)
commit02efac0fbfd59a9b9cf57cd09c8bdf5d8471c533
treedcdd77ce51e5f2071908e80315eaa592f41e8920
parentad975f9364a3e1beb0909a009671c122b47763cd
drm/i2c: tda998x: remove complexity from tda998x_audio_get_eld()

tda998x_audio_get_eld() is needlessly complex - the connector associated
with the encoder is always our own priv->connector.  Remove this
complexity, but ensure that there are no races when copying out the ELD.

Tested-by: Jon Medhurst <tixy@linaro.org>
Acked-by: Jon Medhurst <tixy@linaro.org>
Tested-by: Jyri Sarha <jsarha@ti.com>
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
drivers/gpu/drm/i2c/tda998x_drv.c