From: David Herrmann Date: Sun, 5 May 2013 21:13:03 +0000 (+0200) Subject: HID: wiimote: lock DRM mode during debugfs overwrite X-Git-Tag: v3.11-rc1~90^2^3~12 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d76f89e13a0439649120a85297085e8d8fff77ec;p=pandora-kernel.git HID: wiimote: lock DRM mode during debugfs overwrite If we write a DRM mode via debugfs, we shouldn't allow normal operations to overwrite this DRM mode. This is important if we want to debug 3rd-party devices and we want to see what data is sent on each mode. If we write NULL/0 as DRM, the lock is removed again so the best matching DRM is chosen by wiimote core. Signed-off-by: David Herrmann Signed-off-by: Jiri Kosina --- Reading git-diff-tree failed