Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 205085
b: refs/heads/master
c: 0edeb0c
h: refs/heads/master
i:
  205083: 014d90b
v: v3
  • Loading branch information
Francisco Jerez authored and Ben Skeggs committed Jul 13, 2010
1 parent 3ebbed4 commit 9ce1c44
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 047d1d3cae2c4fc5be4fa20a97c8f5ba4fea1c56
refs/heads/master: 0edeb0c024f3af7d4dd8dde44ad1082b265ebc9a
18 changes: 18 additions & 0 deletions trunk/drivers/gpu/drm/i2c/ch7006_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -428,6 +428,22 @@ static int ch7006_remove(struct i2c_client *client)
return 0;
}

static int ch7006_suspend(struct i2c_client *client, pm_message_t mesg)
{
ch7006_dbg(client, "\n");

return 0;
}

static int ch7006_resume(struct i2c_client *client)
{
ch7006_dbg(client, "\n");

ch7006_write(client, 0x3d, 0x0);

return 0;
}

static int ch7006_encoder_init(struct i2c_client *client,
struct drm_device *dev,
struct drm_encoder_slave *encoder)
Expand Down Expand Up @@ -487,6 +503,8 @@ static struct drm_i2c_encoder_driver ch7006_driver = {
.i2c_driver = {
.probe = ch7006_probe,
.remove = ch7006_remove,
.suspend = ch7006_suspend,
.resume = ch7006_resume,

.driver = {
.name = "ch7006",
Expand Down

0 comments on commit 9ce1c44

Please sign in to comment.