commit | ab0e9fa1579d5e372822038e9d2a6d21c164ede6 | [log] [tgz] |
---|---|---|
author | Tong Zhang <ztong0001@gmail.com> | Thu Aug 20 18:52:40 2020 +0200 |
committer | Mauro Carvalho Chehab <mchehab+huawei@kernel.org> | Wed Aug 26 18:50:11 2020 +0200 |
tree | df1113b386b622c31b87301e51b58939486f3479 | |
parent | 92345d1b47c2da02fadef2162a90fbc8dd8f9204 [diff] |
media: pvrusb2: fix parsing error pvr2_std_str_to_id() returns 0 on failure and 1 on success, however the caller is checking failure case using <0 Acked-by: Mike Isely <isely@pobox.com> Co-developed-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl> Signed-off-by: Tong Zhang <ztong0001@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>