From: James Hogan Date: Mon, 10 Feb 2014 21:31:56 +0000 (-0300) Subject: [media] rc-main: store_filter: pass errors to userland X-Git-Tag: v3.15-rc1~85^2~88 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7b802ce7e8c67510389fdbbe29edd87a75df3a93;p=pandora-kernel.git [media] rc-main: store_filter: pass errors to userland Propagate errors returned by drivers from the s_filter callback back to userland when updating scancode filters. This allows userland to see when the filter couldn't be updated, usually because it's not a valid filter for the hardware. Previously the filter was being updated conditionally on success of s_filter, but the write always reported success back to userland. Reported-by: Antti Seppälä Signed-off-by: James Hogan Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed