]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - drivers/gpu/drm/drm_auth.c
Merge tag 'befs-v4.10-rc1' of git://github.com/luisbg/linux-befs
[karo-tx-linux.git] / drivers / gpu / drm / drm_auth.c
index 4153e8a193af39c01d6ff20326818d052cef4287..6b143514a5668a7c401f4c87194e0764ec05a893 100644 (file)
@@ -251,7 +251,7 @@ void drm_master_release(struct drm_file *file_priv)
        if (!drm_is_current_master(file_priv))
                goto out;
 
-       if (!drm_core_check_feature(dev, DRIVER_MODESET)) {
+       if (drm_core_check_feature(dev, DRIVER_LEGACY)) {
                /*
                 * Since the master is disappearing, so is the
                 * possibility to lock.