diff for duplicates of <5162C934.90808@samsung.com> diff --git a/a/1.txt b/N1/1.txt index 3e180cd..4e51c90 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -83,14 +83,14 @@ s/2012/2013 ? > +{ > + struct i2c_client *client = i2c_verify_client(dev); > + return client && -> + hw_dev->bus_type = V4L2_ASYNC_BUS_I2C && -> + hw_dev->match.i2c.adapter_id = client->adapter->nr && -> + hw_dev->match.i2c.address = client->addr; +> + hw_dev->bus_type == V4L2_ASYNC_BUS_I2C && +> + hw_dev->match.i2c.adapter_id == client->adapter->nr && +> + hw_dev->match.i2c.address == client->addr; > +} > + > +static bool match_platform(struct device *dev, struct v4l2_async_hw_device *hw_dev) > +{ -> + return hw_dev->bus_type = V4L2_ASYNC_BUS_PLATFORM && +> + return hw_dev->bus_type == V4L2_ASYNC_BUS_PLATFORM && > + !strcmp(hw_dev->match.platform.name, dev_name(dev)); > +} > + diff --git a/a/content_digest b/N1/content_digest index 30d964a..c0dcb66 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01365419231-14830-3-git-send-email-g.liakhovetski@gmx.de\0" "From\0Sylwester Nawrocki <s.nawrocki@samsung.com>\0" "Subject\0Re: [PATCH v7 2/7] media: V4L2: support asynchronous subdevice registration\0" - "Date\0Mon, 08 Apr 2013 13:42:12 +0000\0" + "Date\0Mon, 08 Apr 2013 15:42:12 +0200\0" "To\0Guennadi Liakhovetski <g.liakhovetski@gmx.de>\0" "Cc\0linux-media@vger.kernel.org" Laurent Pinchart <laurent.pinchart@ideasonboard.com> @@ -99,14 +99,14 @@ "> +{\n" "> +\tstruct i2c_client *client = i2c_verify_client(dev);\n" "> +\treturn client &&\n" - "> +\t\thw_dev->bus_type = V4L2_ASYNC_BUS_I2C &&\n" - "> +\t\thw_dev->match.i2c.adapter_id = client->adapter->nr &&\n" - "> +\t\thw_dev->match.i2c.address = client->addr;\n" + "> +\t\thw_dev->bus_type == V4L2_ASYNC_BUS_I2C &&\n" + "> +\t\thw_dev->match.i2c.adapter_id == client->adapter->nr &&\n" + "> +\t\thw_dev->match.i2c.address == client->addr;\n" "> +}\n" "> +\n" "> +static bool match_platform(struct device *dev, struct v4l2_async_hw_device *hw_dev)\n" "> +{\n" - "> +\treturn hw_dev->bus_type = V4L2_ASYNC_BUS_PLATFORM &&\n" + "> +\treturn hw_dev->bus_type == V4L2_ASYNC_BUS_PLATFORM &&\n" "> +\t\t!strcmp(hw_dev->match.platform.name, dev_name(dev));\n" "> +}\n" "> +\n" @@ -459,4 +459,4 @@ "Thanks,\n" Sylwester -00c3ef3008fee0da483e41afcf153fd1cfbf7461a0e8d60d70cd915090ef31cb +d1764c19d0e12e7a30b479b47f1082a6fab7f589e754d16cf7e328509362d512
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.