- mxsfb axi/disp_axi clock enable fix
-----BEGIN PGP SIGNATURE----- iGwEABECACwWIQSC4hxrSoIUVfFO0kRM6ATMmsalXAUCYcsYsQ4cYWd1c3RAZGVu eC5kZQAKCRBM6ATMmsalXDHdAJwIsq7Cursrkt2bvjEeSiW8z653cwCfQePOM9QK ITCS2Lvu42dTtKnsh3Q= =IJle -----END PGP SIGNATURE----- Merge tag 'video-20211228' of https://source.denx.de/u-boot/custodians/u-boot-video - mxsfb axi/disp_axi clock enable fix
This commit is contained in:
commit
b3f84a939f
@ -89,7 +89,7 @@ static void mxs_lcd_init(struct udevice *dev, u32 fb_addr,
|
||||
}
|
||||
|
||||
ret = clk_get_by_name(dev, "axi", &clk);
|
||||
if (!ret) {
|
||||
if (ret < 0) {
|
||||
debug("%s: Failed to get mxs axi clk: %d\n", __func__, ret);
|
||||
} else {
|
||||
ret = clk_enable(&clk);
|
||||
@ -100,7 +100,7 @@ static void mxs_lcd_init(struct udevice *dev, u32 fb_addr,
|
||||
}
|
||||
|
||||
ret = clk_get_by_name(dev, "disp_axi", &clk);
|
||||
if (!ret) {
|
||||
if (ret < 0) {
|
||||
debug("%s: Failed to get mxs disp_axi clk: %d\n", __func__, ret);
|
||||
} else {
|
||||
ret = clk_enable(&clk);
|
||||
|
Loading…
Reference in New Issue
Block a user