Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 357315
b: refs/heads/master
c: d322bb9
h: refs/heads/master
i:
  357313: e242c71
  357311: 80b3540
v: v3
  • Loading branch information
Sachin Kamat authored and Mauro Carvalho Chehab committed Jan 6, 2013
1 parent 5c09051 commit 3d7311d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 45b56d572cd8b4f118ed3a006aa33527fd966389
refs/heads/master: d322bb915425b65a51c48b90e912af55762cc745
8 changes: 4 additions & 4 deletions trunk/drivers/media/platform/s5p-tv/hdmi_drv.c
Original file line number Diff line number Diff line change
Expand Up @@ -656,7 +656,7 @@ static int hdmi_g_mbus_fmt(struct v4l2_subdev *sd,
dev_dbg(hdev->dev, "%s\n", __func__);
if (!hdev->cur_conf)
return -EINVAL;
memset(fmt, 0, sizeof *fmt);
memset(fmt, 0, sizeof(*fmt));
fmt->width = t->hact.end - t->hact.beg;
fmt->height = t->vact[0].end - t->vact[0].beg;
fmt->code = V4L2_MBUS_FMT_FIXED; /* means RGB888 */
Expand Down Expand Up @@ -760,7 +760,7 @@ static void hdmi_resources_cleanup(struct hdmi_device *hdev)
clk_put(res->sclk_hdmi);
if (!IS_ERR_OR_NULL(res->hdmi))
clk_put(res->hdmi);
memset(res, 0, sizeof *res);
memset(res, 0, sizeof(*res));
}

static int hdmi_resources_init(struct hdmi_device *hdev)
Expand All @@ -777,7 +777,7 @@ static int hdmi_resources_init(struct hdmi_device *hdev)

dev_dbg(dev, "HDMI resource init\n");

memset(res, 0, sizeof *res);
memset(res, 0, sizeof(*res));
/* get clocks, power */

res->hdmi = clk_get(dev, "hdmi");
Expand Down Expand Up @@ -955,7 +955,7 @@ static int __devinit hdmi_probe(struct platform_device *pdev)
v4l2_subdev_init(sd, &hdmi_sd_ops);
sd->owner = THIS_MODULE;

strlcpy(sd->name, "s5p-hdmi", sizeof sd->name);
strlcpy(sd->name, "s5p-hdmi", sizeof(sd->name));
hdmi_dev->cur_preset = HDMI_DEFAULT_PRESET;
/* FIXME: missing fail preset is not supported */
hdmi_dev->cur_conf = hdmi_preset2timings(hdmi_dev->cur_preset);
Expand Down

0 comments on commit 3d7311d

Please sign in to comment.