1450N/A * Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. 1450N/A * Copyright (c) 2012 Intel Corporation. All rights reserved. 1450N/A * Copyright © 2009 Keith Packard 1450N/A * Permission to use, copy, modify, distribute, and sell this software and its 1450N/A * documentation for any purpose is hereby granted without fee, provided that 1450N/A * the above copyright notice appear in all copies and that both that copyright 1450N/A * notice and this permission notice appear in supporting documentation, and 1450N/A * that the name of the copyright holders not be used in advertising or 1450N/A * publicity pertaining to distribution of the software without specific, 1450N/A * written prior permission. The copyright holders make no representations 1450N/A * about the suitability of this software for any purpose. It is provided "as 1450N/A * is" without express or implied warranty. 1450N/A * THE COPYRIGHT HOLDERS DISCLAIM ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, 1450N/A * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO 1450N/A * EVENT SHALL THE COPYRIGHT HOLDERS BE LIABLE FOR ANY SPECIAL, INDIRECT OR 1450N/A * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, 1450N/A * DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER 1450N/A * TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE 1450N/A * Send the address. If the I2C link is running, this 'restarts' 1450N/A * the connection with the new address, this is used for doing 1450N/A * a write followed by a read (as needed for DDC) 1450N/A * Stop the I2C transaction. This closes out the link, sending 1450N/A * a bare address packet with the MOT bit turned off 1450N/A * Write a single byte to the current I2C address, the 1450N/A * the I2C link must be running or this returns -EIO 1450N/A * Read a single byte from the current I2C address, the 1450N/A * I2C link must be running or this returns -EIO 1450N/A/* LINTED E_FUNC_ARG_UNUSED */ 1450N/A// error = i2c_add_adapter(adapter);