diff options
author | Sakari Ailus <[email protected]> | 2014-11-06 17:49:45 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <[email protected]> | 2014-11-11 09:13:36 -0200 |
commit | b31eb901c4e5eeef4c83c43dfbc7fe0d4348cb21 (patch) | |
tree | 289cd2133da9aa4d168e76f5ae0637b8174eedb7 /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | 167921cb0ff2bdbf25138dad799fec88c99ed316 (diff) |
[media] smiapp: Only some selection targets are settable
Setting a non-settable selection target caused BUG() to be called. The check
for valid selections only takes the selection target into account, but does
not tell whether it may be set, or only get. Fix the issue by simply
returning an error to the user.
Signed-off-by: Sakari Ailus <[email protected]>
Cc: [email protected] # for v3.10 and up
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions