Files
android_kernel_xiaomi_sm8450/drivers/gpu/drm/sun4i
Maxime Ripard a25b77a1d7 drm/sun4i: hdmi: Fix unitialized variable
The is_double variable is used to store, and possibly returning to the
calling function, whether it needs to double the rate of the parent clock
or not.

In the case where it does, the variable is affected, but in the case where
it doesn't we return some uninitialized value. Fix this.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Maxime Ripard <maxime.ripard@bootlin.com>
Reviewed-by: Giulio Benetti <giulio.benetti@micronovasrl.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20181021163446.29135-1-maxime.ripard@bootlin.com
2018-10-29 14:19:51 +01:00
..
2018-07-30 10:39:22 +10:00
2018-07-02 18:45:56 +03:00
2017-06-01 09:47:23 +02:00
2018-03-01 10:41:27 +01:00
2018-01-04 20:37:17 +01:00
2017-12-05 13:22:44 +01:00
2017-12-05 13:22:44 +01:00