From: Thomas Renninger Date: Wed, 23 Mar 2011 15:14:09 +0000 (+0000) Subject: drm radeon: Return -EINVAL on wrong pm sysfs access X-Git-Tag: v2.6.39-rc1~79^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1783e4bf6f4e5c3b13c09aff24da7dcc69fb3e2f;p=pandora-kernel.git drm radeon: Return -EINVAL on wrong pm sysfs access Throw an error if someone tries to fill this with wrong data, instead of simply ignoring the input. Now you get: echo hello >/sys/../power_method -bash: echo: write error: Invalid argument Signed-off-by: Thomas Renninger CC: Alexander.Deucher@amd.com CC: dri-devel@lists.freedesktop.org Reviewed-by: Alex Deucher Signed-off-by: Dave Airlie --- Reading git-diff-tree failed