]> rtime.felk.cvut.cz Git - sojka/nv-tegra/linux-3.10.git/commit
misc: tegra-baseband: register sysedpc if name exists
authorNeil Patel <neilp@nvidia.com>
Fri, 3 Jan 2014 22:02:15 +0000 (17:02 -0500)
committerSteve Lin <stlin@nvidia.com>
Mon, 6 Jan 2014 18:49:35 +0000 (10:49 -0800)
commita2332646997f82feac2ddf820c1ad3da03e3bced
treec815234ce8a24796090b26f1702ef02de3a78464
parentd378f652b78117adc839d3bcf8b9d2601be937a5
misc: tegra-baseband: register sysedpc if name exists

If sysedp is supported but the consumer name has not been specified
then no registration call should be made. Doing so will result in a
crash within the sysedp driver.

Bug 1416849

Change-Id: I9f03802d6f82f11ae6b2da7ff57880a1778c4637
Signed-off-by: Neil Patel <neilp@nvidia.com>
Reviewed-on: http://git-master/r/351878
Reviewed-by: Steve Lin <stlin@nvidia.com>
drivers/misc/tegra-baseband/tegra_usb_modem_power.c