diff options
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
| -rw-r--r-- | arch/arm/mach-omap2/mux.c | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 65c33911341..3268ee24ead 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -247,7 +247,7 @@ int __init omap_mux_init_signal(const char *muxname, int val)  	int mux_mode;  	mux_mode = omap_mux_get_by_name(muxname, &partition, &mux); -	if (mux_mode < 0) +	if (mux_mode < 0 || !mux)  		return mux_mode;  	old_mode = omap_mux_read(partition, mux->reg_offset);  |