telephony: fix return value
authorNicolas Kaiser <nikai@nikai.net>
Fri, 29 Oct 2010 09:41:42 +0000 (11:41 +0200)
committerJiri Kosina <jkosina@suse.cz>
Fri, 29 Oct 2010 09:41:42 +0000 (11:41 +0200)
commitb0438a1b71955c425c304a2a483765ef24841766
treef9ca0831d87ca8b83280711a3cbaacee73e87ec2
parent229aebb873e29726b91e076161649cf45154b0bf
telephony: fix return value

If copy_from_user fails, the return value gets overwritten.

Signed-off-by: Nicolas Kaiser <nikai@nikai.net>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/telephony/ixj.c