diff options
| author | Arnd Bergmann <[email protected]> | 2016-03-14 19:40:08 -0300 |
|---|---|---|
| committer | Mauro Carvalho Chehab <[email protected]> | 2016-04-13 17:09:31 -0300 |
| commit | 0fb504001192c1df62c847a8bb6558753c36ebef (patch) | |
| tree | 0720cb7db6ce4fa5b5b3288e742e6255a023c38f /tools/perf/scripts/python | |
| parent | c16352b5b35d8f619028ebf855ce42c1f99649e6 (diff) | |
[media] am437x-vfpe: fix typo in vpfe_get_app_input_index
gcc-6 points out an obviously silly comparison in vpfe_get_app_input_index():
drivers/media/platform/am437x/am437x-vpfe.c: In function 'vpfe_get_app_input_index':
drivers/media/platform/am437x/am437x-vpfe.c:1709:27: warning: self-comparison always evaluats to true [-Wtautological-compare]
client->adapter->nr == client->adapter->nr) {
^~
This was introduced in a slighly incorrect conversion, and it's
clear that the comparison was meant to compare the iterator
to the current subdev instead, as we do in the line above.
Fixes: d37232390fd4 ("[media] media: am437x-vpfe: match the OF node/i2c addr instead of name")
Signed-off-by: Arnd Bergmann <[email protected]>
Acked-by: Lad, Prabhakar <[email protected]>
Signed-off-by: Hans Verkuil <[email protected]>
Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions