]> git.dujemihanovic.xyz Git - u-boot.git/commit
ram: rk3399: Fix .set_rate_index() error handling
authorLee Jones <lee@kernel.org>
Thu, 11 Aug 2022 07:58:46 +0000 (08:58 +0100)
committerKever Yang <kever.yang@rock-chips.com>
Sun, 4 Sep 2022 12:00:38 +0000 (20:00 +0800)
commit7b561e2ab8ac980023c5e5325f45a8ca1951c0dd
tree40d7e939e277f3fe80517a6bc14436182c8e4ffc
parentfc1526f651a557ddbf7c3cba8575be963573871f
ram: rk3399: Fix .set_rate_index() error handling

Functions pointed to by this op pointer can return non-zero values
indicating an error.  Ensure any error value is propagated back up the
call-chain.

Signed-off-by: Lee Jones <lee@kernel.org>
Tested-by: Xavier Drudis Ferran <xdrudis@tinet.cat>
Reviewed-by: Kever Yang <kever.yang@rock-chips.com>
drivers/ram/rockchip/sdram_rk3399.c