diff options
author | Dingchen Zhang <dingchen.zhang@amd.com> | 2019-07-26 13:37:43 -0400 |
---|---|---|
committer | Alex Deucher <alexander.deucher@amd.com> | 2020-01-07 15:29:40 -0500 |
commit | 292f3e496be0cac933dfa86e9d0bea5d96224c14 (patch) | |
tree | e11eaa03acd95ac7c04f130fb77aab779700152f /fs/proc/proc_tty.c | |
parent | 72a848f5c46bab4c921edc9cbffd1ab273b2be17 (diff) | |
download | linux-stable-292f3e496be0cac933dfa86e9d0bea5d96224c14.tar.gz linux-stable-292f3e496be0cac933dfa86e9d0bea5d96224c14.tar.bz2 linux-stable-292f3e496be0cac933dfa86e9d0bea5d96224c14.zip |
drm: Set crc->opened to false before setting crc source to NULL.
to terminate the while-loop in drm_dp_aux_crc_work when
drm_dp_start/stop_crc are called in the hook to set crc source.
v3: set crc->opened to false without checking (Nick)
v2: Move spin_lock around entire crc->opened use (Daniel)
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: Harry Wentland <Harry.Wentland@amd.com>
Cc: Nick Kazlauskas <Nicholas.Kazlauskas@amd.com>
Signed-off-by: Dingchen Zhang <dingchen.zhang@amd.com>
Reviewed-by: Harry Wentland <harry.wentland@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20190726173743.11641-1-dingchen.zhang@amd.com
Diffstat (limited to 'fs/proc/proc_tty.c')
0 files changed, 0 insertions, 0 deletions