drm/amd/amdgpu: Fix flow control in uvd_v4_2_stop()
authorTom St Denis <tom.stdenis@amd.com>
Mon, 13 Feb 2017 19:11:40 +0000 (14:11 -0500)
committerAlex Deucher <alexander.deucher@amd.com>
Thu, 16 Feb 2017 16:43:44 +0000 (11:43 -0500)
commite89d5b5c202831648b853be20a5b9f8170d642d5
tree91e66d6c5684e40f077f5b28b1ec3e9867eea150
parentfce293ca3d088b9a398c4fa3f7e9489283a70cf5
drm/amd/amdgpu: Fix flow control in uvd_v4_2_stop()

Break out of outer loop properly.

Signed-off-by: Tom St Denis <tom.stdenis@amd.com>
Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/amd/amdgpu/uvd_v4_2.c