Commit f883f34b authored by Jiasheng Jiang's avatar Jiasheng Jiang Committed by Hans Verkuil
Browse files

media: platform: stm32: Add check for clk_enable()



Add check for the return value of clk_enable() to gurantee the success.

Fixes: 002e8f0d ("media: stm32-dma2d: STM32 DMA2D driver")
Cc: stable@vger.kernel.org
Signed-off-by: default avatarJiasheng Jiang <jiashengjiangcool@gmail.com>
Signed-off-by: default avatarHans Verkuil <hverkuil@xs4all.nl>
parent 347d8483
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment