commit | f36b3f8f174f0b4168121b99db060d53491c5922 | [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 | 578b479affa4570a3fcfca40f2b69f503880a8c9 [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>