]> git.dujemihanovic.xyz Git - u-boot.git/commit
rockchip: rk3308: fix rockchip_dnl_key_pressed() on roc-cc
authorJohn Keeping <john@metanate.com>
Thu, 14 Jul 2022 14:09:12 +0000 (15:09 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 4 Sep 2022 12:00:38 +0000 (20:00 +0800)
commit9b0e344fa1a88f8b7c14fa289aeb90d86f1dbb71
tree7a04806a8035f37cd2a7ceb5cfe487796d78660c
parent07b5d348a6b0856741eff23b9ed133fe27eab2ad
rockchip: rk3308: fix rockchip_dnl_key_pressed() on roc-cc

Commit 6aa4fe3912 ("dm: core: Rename and fix uclass_get_by_name_len()")
changed uclass_get_device_by_name() to an exact match when previously it
behaved as a prefix match.

The roc-cc code relied on this prefix match by only specifying part of
the device name.  Fix this by using the full name including the address.

Signed-off-by: John Keeping <john@metanate.com>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
board/firefly/firefly-rk3308/roc_cc_rk3308.c