diff options
author | Arvind Yadav <arvind.yadav.cs@gmail.com> | 2017-03-20 20:30:59 +0300 |
---|---|---|
committer | Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com> | 2017-03-20 20:30:59 +0300 |
commit | 0348aaa34412e24ebe622a2b1b013e68d6ae5412 (patch) | |
tree | 6986e0db60d169b3f72c5ac5b69083c0005534e1 /drivers/ata/libahci.c | |
parent | c1ae3cfa0e89fa1a7ecc4c99031f5e9ae99d9201 (diff) | |
download | linux-0348aaa34412e24ebe622a2b1b013e68d6ae5412.tar.xz |
omapfb: dss: Handle return errors in dss_init_ports()
dss_init_ports() is not handling return errors from dpi_init_port() and
sdi_init_port(). It is also always returning 0 currently which results in
part of error handling code in dss_bind() being unused.
Fix dss_init_ports() to handle return errors from dpi_init_port() and
sdi_init_port().
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Cc: tomi.valkeinen@ti.com
[b.zolnierkie: fail early on errors, minor fixups]
Signed-off-by: Bartlomiej Zolnierkiewicz <b.zolnierkie@samsung.com>
Diffstat (limited to 'drivers/ata/libahci.c')
0 files changed, 0 insertions, 0 deletions