I2C_transfer() return not handled properly while i2cLldHandle is NULL

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Medium
    • SITSW-8132
    • 10.01.00
    • 11.02.00
    • Hide
      am62xx-sk
      am62xx-sk-lp
      am62x-sip-sk
      am62a-sk
      am62p-sk
      am62d-evm
      am62l-evm
      am275x-evm
      Show
      am62xx-sk am62xx-sk-lp am62x-sip-sk am62a-sk am62p-sk am62d-evm am62l-evm am275x-evm

      driver flow, I2C_lld_mem_write() performs a null-check on i2cLldHandle and correctly returns I2C_STS_ERR_INVALID_PARAM.
      However, in interrupt mode, I2C_transfer() does not propagate this error because it simply returns transaction->status, which is left at its default value (SystemP_SUCCESS).
      As a result, the application sees I2C_transfer() succeed even though the underlying LLD call actually failed.

            Assignee:
            TI User
            Reporter:
            TI User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Connection: Intermediate to External PROD System
                EXTSYNC-6147 - I2C_transfer() return not handled p...
                SYNCHRONIZED
                • Last Sync Date: