Changing the I2C address on-the-fly of a linux device driver <p>I have two cameras attached to my linux system. The cameras are controlled via I2C. The device driver for a single camera is based on the <code>i2c-core</code> device driver. I want to switch between the two cameras. Therefore, I want to change the I2C address on the fly to control one or the other camera.</p> <p>Is this reasonable? If yes, is there a function, which does that or is it necessary to detach and attach the client with <code>i2c_detach_client</code> and <code>i2c_attach_client</code>, respsectively?</p> <p>Thanks for any advice, Stefan</p>