i3c: master add i3c_master_attach_boardinfo to preserve boardinfo
authorParshuram Thombare <pthombar@cadence.com>
Thu, 21 May 2020 09:32:22 +0000 (11:32 +0200)
committerBoris Brezillon <boris.brezillon@collabora.com>
Wed, 19 Aug 2020 07:29:56 +0000 (09:29 +0200)
commit9da36a7ec42135428e1d41621e3703429bda3b2e
tree229395e5169664cea22a52444ef8c309013035a4
parent9123e3a74ec7b934a4a099e98af6a61c2f80bbf5
i3c: master add i3c_master_attach_boardinfo to preserve boardinfo

Boardinfo was lost if I3C object for devices with boardinfo
available are not created or not added to the I3C device list
because of some failure e.g. SETDASA failed, retrieve info failed etc
This patch adds i3c_master_attach_boardinfo which scan boardinfo list
in the master object and 'attach' it to the I3C device object.

Fixes: 3a379bbcea0a ("i3c: Add core I3C infrastructure")
Signed-off-by: Parshuram Thombare <pthombar@cadence.com>
Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Link: https://lore.kernel.org/linux-i3c/1590053542-389-1-git-send-email-pthombar@cadence.com
drivers/i3c/master.c