projects
/
linux-2.6-microblaze.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge tag 'spi-nor/for-4.21' of git://git.infradead.org/linux-mtd into mtd/next
[linux-2.6-microblaze.git]
/
arch
/
arm
/
mach-omap1
/
board-ams-delta.c
diff --git
a/arch/arm/mach-omap1/board-ams-delta.c
b/arch/arm/mach-omap1/board-ams-delta.c
index
d594f60
..
691a8da
100644
(file)
--- a/
arch/arm/mach-omap1/board-ams-delta.c
+++ b/
arch/arm/mach-omap1/board-ams-delta.c
@@
-748,6
+748,9
@@
static void modem_pm(struct uart_port *port, unsigned int state, unsigned old)
struct modem_private_data *priv = port->private_data;
int ret;
+ if (!priv)
+ return;
+
if (IS_ERR(priv->regulator))
return;