By debugging, get failure callstack:
ds1307_attach_adapter->i2c_probe->i2c_probe_address->i2c_smbus_xfer->i2c_smbus_xfer_emulated->i2c_transfer->i2c_davinci_xfer->i2c_davinci_xfer_msg
        if (dev->cmd_err & DAVINCI_I2C_STR_NACK) {
                if (msg->flags & I2C_M_IGNORE_NAK)
                        return msg->len;
                if (stop) {
                        w = davinci_i2c_read_reg(dev, DAVINCI_I2C_MDR_REG);
                        MOD_REG_BIT(w, DAVINCI_I2C_MDR_STP, 1);
                        davinci_i2c_write_reg(dev, DAVINCI_I2C_MDR_REG, w);
                }
                *return -EREMOTEIO;*
        }

Please give me the answer of this problem. Thanks.



--
View this message in context: 
http://davinci-linux-open-source.1494791.n2.nabble.com/drivers-rtc-hctosys-c-unable-to-open-rtc-device-rtc0-tp7580386p7580387.html
Sent from the davinci-linux-open-source mailing list archive at Nabble.com.
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source

Reply via email to