Skip to content
Commit e91b72d6 authored by wuyuehang's avatar wuyuehang
Browse files

bcm2709_fb: refine appropriate behaviors to unsupported fb ioctls



since fbturbo introduces and use FBUNSUPPORTED ioctl on copyarea
operations for unsupported dummy ioctl which is expected to return
failure. in such scenario, bcm2709 always prompts error log.

in order not to bother users in kernel log, we change the dev_err to
dev_dbg and return a ENOTTY other than EINVAL to let userspace handles
the return value.

Signed-off-by: default avatarwuyuehang <yuehan9.wu@gmail.com>
Reviewed-by: default avatarpopcornmix <popcornmix@gmail.com>
Reviewed-by: default avatarPhil Elwell <pelwell@users.noreply.github.com>
Reviewed-by: default avatarNoralf Trønnes <noralf@tronnes.org>
parent 3ac4e40b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment