[PATCH] drm: fixes when i2c encoder slave mode_fixup is null.

2016-02-10 Thread Jani Nikula
On Wed, 10 Feb 2016, Daniel Vetter wrote: > On Wed, Feb 10, 2016 at 12:08:38PM +, Carlos Palminha wrote: >> Avoid i2c slave encoder drivers to copy/paste code to implement functions >> that will >> only return true. >> >> Signed-off-by: Carlos Palminha > > lgtm, applied to drm-misc. sil164_

[PATCH] drm: fixes when i2c encoder slave mode_fixup is null.

2016-02-10 Thread Daniel Vetter
On Wed, Feb 10, 2016 at 12:08:38PM +, Carlos Palminha wrote: > Avoid i2c slave encoder drivers to copy/paste code to implement functions > that will > only return true. > > Signed-off-by: Carlos Palminha lgtm, applied to drm-misc. sil164_drv.c seems to have a dummy mode_fixup function that'

[PATCH] drm: fixes when i2c encoder slave mode_fixup is null.

2016-02-10 Thread Carlos Palminha
thanks daniel. I'll check all i2c slave encoders and submit a patch set. On 10-02-2016 12:25, Daniel Vetter wrote: > On Wed, Feb 10, 2016 at 12:08:38PM +, Carlos Palminha wrote: >> Avoid i2c slave encoder drivers to copy/paste code to implement functions >> that will >> only return true. >>

[PATCH] drm: fixes when i2c encoder slave mode_fixup is null.

2016-02-10 Thread Carlos Palminha
Avoid i2c slave encoder drivers to copy/paste code to implement functions that will only return true. Signed-off-by: Carlos Palminha --- drivers/gpu/drm/drm_encoder_slave.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/gpu/drm/drm_encoder_slave.c b/drivers/gpu/drm/drm_encoder_s