]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
Merge branch 'tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox into...
authorDave Airlie <airlied@redhat.com>
Mon, 4 Aug 2014 23:26:09 +0000 (09:26 +1000)
committerDave Airlie <airlied@redhat.com>
Mon, 4 Aug 2014 23:26:09 +0000 (09:26 +1000)
This builds upon the previous set of fixes which were pulled on 6th July.
Included in this set are:
- an update from Jean-Francois to add the missing reg documentation entry
  to the device tree documentation.
- conversion of the tda998x driver to the component helpers.

* 'tda998x-devel' of git://ftp.arm.linux.org.uk/~rmk/linux-cubox:
  drm/i2c: tda998x: add component support
  drm/i2c: tda998x: allow re-use of tda998x support code
  drm/i2c: tda998x: fix lack of required reg in DT documentation

Conflicts:
drivers/gpu/drm/i2c/tda998x_drv.c

1  2 
drivers/gpu/drm/i2c/tda998x_drv.c

index a8f1e03bd1f54c16db6407a5baced901007c09b7,3b07ff7e6348886caa2fbe95aa26176297e0fc95..e9ddab93a9d8da1015eceae731620a0ad585c545
@@@ -1196,7 -1173,23 +1173,22 @@@ static void tda998x_destroy(struct tda9
        if (priv->hdmi->irq)
                free_irq(priv->hdmi->irq, priv);
  
 -      if (priv->cec)
 -              i2c_unregister_device(priv->cec);
 +      i2c_unregister_device(priv->cec);
+ }
+ /* Slave encoder support */
+ static void
+ tda998x_encoder_slave_set_config(struct drm_encoder *encoder, void *params)
+ {
+       tda998x_encoder_set_config(to_tda998x_priv(encoder), params);
+ }
+ static void tda998x_encoder_slave_destroy(struct drm_encoder *encoder)
+ {
+       struct tda998x_priv *priv = to_tda998x_priv(encoder);
+       tda998x_destroy(priv);
        drm_i2c_encoder_destroy(encoder);
        kfree(priv);
  }