diff options
author | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-10-16 14:33:42 +0200 |
---|---|---|
committer | Patrik Jakobsson <patrik.r.jakobsson@gmail.com> | 2019-11-04 17:58:46 +0100 |
commit | ff1fd2945c1a1274f769495b4ed5e83765683c62 (patch) | |
tree | 1f25b0ed66a10999daeda34f44c80fe619d1e76e /include/drm/drm_scdc_helper.h | |
parent | 2869e82eb4ffda7afc76c1ff0d52592df7b0d1c8 (diff) | |
download | lwn-ff1fd2945c1a1274f769495b4ed5e83765683c62.tar.gz lwn-ff1fd2945c1a1274f769495b4ed5e83765683c62.zip |
drm/scdc: Fix typo in bit definition of SCDC_STATUS_FLAGS
Fix typo where bits got compared (x < y) instead of shifted (x << y).
Signed-off-by: Patrik Jakobsson <patrik.r.jakobsson@gmail.com>
Reviewed-by: Thierry Reding <treding@nvidia.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20191016123342.19119-1-patrik.r.jakobsson@gmail.com
Diffstat (limited to 'include/drm/drm_scdc_helper.h')
-rw-r--r-- | include/drm/drm_scdc_helper.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/drm/drm_scdc_helper.h b/include/drm/drm_scdc_helper.h index f92eb2094d6b..6a483533aae4 100644 --- a/include/drm/drm_scdc_helper.h +++ b/include/drm/drm_scdc_helper.h @@ -50,9 +50,9 @@ #define SCDC_READ_REQUEST_ENABLE (1 << 0) #define SCDC_STATUS_FLAGS_0 0x40 -#define SCDC_CH2_LOCK (1 < 3) -#define SCDC_CH1_LOCK (1 < 2) -#define SCDC_CH0_LOCK (1 < 1) +#define SCDC_CH2_LOCK (1 << 3) +#define SCDC_CH1_LOCK (1 << 2) +#define SCDC_CH0_LOCK (1 << 1) #define SCDC_CH_LOCK_MASK (SCDC_CH2_LOCK | SCDC_CH1_LOCK | SCDC_CH0_LOCK) #define SCDC_CLOCK_DETECT (1 << 0) |