<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>I2C clients which has 10 bit address, struct i2c_board_info,<br>member "flags = I2C_CLIENT_TEN" is needed.<br><br>Signed-off-by: Bharat Kumar Reddy Gooty <bharat_404@hotmail.com><br>---<br> drivers/of/of_i2c.c |    4 ++++<br> 1 file changed, 4 insertions(+)<br><br>diff --git a/drivers/of/of_i2c.c b/drivers/of/of_i2c.c<br>index 1e173f3..9cda7e2 100644<br>--- a/drivers/of/of_i2c.c<br>+++ b/drivers/of/of_i2c.c<br>@@ -57,6 +57,10 @@ void of_i2c_register_devices(struct i2c_adapter *adap)<br>                        continue;<br>                }   <br> <br>+               /* Support for i2c 10 bit client address */<br>+               if ((info.addr > (1 << 7) - 1) && (info.addr <= (1 << 10) - 1))<br>+                       info.flags = I2C_CLIENT_TEN;<br>+<br>                info.irq = irq_of_parse_and_map(node, 0); <br>                info.of_node = of_node_get(node);<br>                info.archdata = &dev_ad;<br>-- <br>1.7.9.5<br><br><br>                                         </div></body>
</html>