diff for duplicates of <1618829.uxRCXGb1BB@avalon> diff --git a/a/1.txt b/N1/1.txt index 1cdef9e..658d9e6 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -66,15 +66,15 @@ Each iteration gets better :-) > +{ > + 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 fc50f38..21cc8f7 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -2,7 +2,7 @@ "ref\01365433538-15975-3-git-send-email-g.liakhovetski@gmx.de\0" "From\0Laurent Pinchart <laurent.pinchart@ideasonboard.com>\0" "Subject\0Re: [PATCH v8 2/7] media: V4L2: support asynchronous subdevice registration\0" - "Date\0Fri, 12 Apr 2013 12:09:41 +0000\0" + "Date\0Fri, 12 Apr 2013 14:09:41 +0200\0" "To\0Guennadi Liakhovetski <g.liakhovetski@gmx.de>\0" "Cc\0linux-media@vger.kernel.org" Hans Verkuil <hverkuil@xs4all.nl> @@ -82,15 +82,15 @@ "> +{\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\n" "> *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" @@ -496,4 +496,4 @@ "\n" Laurent Pinchart -134a75029f8f9b32be21c5503cfb5af26acde1fbf7643821d7705ceb91902eca +4d56ba29f850ef9f501ca6ec416df72873555953a5440f1bec1d53924bcc9150
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.