Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 94a93e5f authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab
Browse files

[media] dvb_frontend: print a msg if a property doesn't exist



If userspace calls a property that doesn't exist, it currently
just returns -EINVAL. However, this is more likely a problem at
the userspace application, calling it with a non-existing property.
So, add a debug message to help tracking it.

Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 25188bd0
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1479,6 +1479,9 @@ static int dtv_property_process_get(struct dvb_frontend *fe,
		tvp->u.st = c->block_count;
		break;
	default:
		dev_dbg(fe->dvb->device,
			"%s: FE property %d doesn't exist\n",
			__func__, tvp->cmd);
		return -EINVAL;
	}