commit | 52d45012ff66dee716b8dfcb7d67d3ab54a3208a | [log] [tgz] |
---|---|---|
author | Rob Herring <robh@kernel.org> | Fri Apr 18 08:54:28 2014 -0500 |
committer | Marek Vasut <marex@denx.de> | Wed Apr 30 10:30:57 2014 +0200 |
tree | 4c7a731a6e3eaf6321c0cae7846217fac04b54ea | |
parent | fd2a89b20ba66d76929f672b03f392733fb1b2a6 [diff] |
usb: handle NULL table in usb_gadget_get_string Allow a NULL table to be passed to usb_gadget_get_string for cases when a string table may not be populated. Signed-off-by: Rob Herring <robh@kernel.org> Reviewed-by: Tom Rini <trini@ti.com> Acked-by: Marek Vasut <marex@denx.de> Acked-by: Lukasz Majewski <l.majewski@samsung.com>