diff options
author | Tomi Valkeinen <[email protected]> | 2019-09-30 13:38:40 +0300 |
---|---|---|
committer | Tomi Valkeinen <[email protected]> | 2019-10-04 11:30:28 +0300 |
commit | bebf00512cc2c2a942a6dc47674bf44b7a3cb681 (patch) | |
tree | e554ee7a6fbb1c40480b425a155388fd99b68259 /lib/mpi/mpi-pow.c | |
parent | 9c5fa79f802a8e832415dafffc3954872eec6740 (diff) |
drm/omap: hdmi4: fix use of uninitialized var
If use_mclk is false, mclk_mode is written to a register without
initialization. This doesn't cause any ill effects as the written value
is not used when use_mclk is false.
To fix this, write use_mclk only when use_mclk is true.
Signed-off-by: Tomi Valkeinen <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Reviewed-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions