Skip to content
Commit f36b3f8f authored by Giulio Benetti's avatar Giulio Benetti Committed by Anatolij Gustschin
Browse files

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: default avatarGiulio Benetti <giulio.benetti@benettiengineering.com>
parent 578b479a
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment