diff options
author | Matt DeVillier <matt.devillier@gmail.com> | 2022-06-18 15:22:47 -0500 |
---|---|---|
committer | Felix Held <felix-coreboot@felixheld.de> | 2022-06-21 12:28:07 +0000 |
commit | 06abb91b22b5911315e65ad6b287ba51a7f28eac (patch) | |
tree | f564dfba7553841e9f91961b0fc62a7e77df69e4 /src/arch/arm | |
parent | f887879815abc28c8decec2355ec22df6f230588 (diff) |
device/i2c_bus: Check for self loop in bus link
When trying to find the parent i2c bus of a given device, ensure that
the bus link doesn't point to itself, else we'll get stuck in an
infinite loop.
Change-Id: I56cb6b2a3e4f98d2ce3ef2d8298e74d52661331c
Signed-off-by: Matt DeVillier <matt.devillier@gmail.com>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/65229
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@mailbox.org>
Reviewed-by: Nico Huber <nico.h@gmx.de>
Diffstat (limited to 'src/arch/arm')
0 files changed, 0 insertions, 0 deletions