commit | fea7372cbc40869876df0f045e367f6f97a1666c | [log] [tgz] |
---|---|---|
author | Dan Carpenter <dan.carpenter@oracle.com> | Thu Jan 28 12:35:23 2021 +0300 |
committer | Johan Hovold <johan@kernel.org> | Thu Jan 28 10:57:22 2021 +0100 |
tree | 0d9fa8d857e04f1a79b99ad1bdb7e2678ec569a9 | |
parent | 55317e22391ffc5aa297c3a617c8c3302fb184b6 [diff] |
USB: serial: mos7720: fix error code in mos7720_write() This code should return -ENOMEM if the kmalloc() fails but instead it returns success. Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> Fixes: 0f64478cbc7a ("USB: add USB serial mos7720 driver") Cc: stable@vger.kernel.org Signed-off-by: Johan Hovold <johan@kernel.org>