commit | 6b18e94e219c15a76b2456cd98dca55894e2b4e8 | [log] [tgz] |
---|---|---|
author | Giulio Benetti <giulio.benetti@benettiengineering.com> | Sun Oct 24 00:34:42 2021 +0200 |
committer | Anatolij Gustschin <agust@denx.de> | Mon Dec 27 00:30:37 2021 +0100 |
tree | 446702ebeb3c99d0591b5ede37773fd72ba533b5 | |
parent | b4db30351c9e9b3eab403fccfe6f28f3a695fd12 [diff] |
video: mxsfb: fix clk_get_by_name() return value check If clk_get_by_name() returns 0 it means it executed successfully while now we consider it as an error. So let's check if return value is negative to be an error. Otherwise this prevents "axi" and "disp_axi" to be enabled. Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>