diff options
author | Arnd Bergmann <arnd@arndb.de> | 2013-03-05 23:22:00 +0100 |
---|---|---|
committer | Arnd Bergmann <arnd@arndb.de> | 2013-03-05 23:22:00 +0100 |
commit | f01c28794c80cd4ca1520c73305ba7b82a657802 (patch) | |
tree | 4d6ce6fdca54a10baedf70ff5e84ef2d1146379d /arch/arm/mach-omap2/mux.c | |
parent | 4246a9c9682fcced5e5dd997614a3d4f606efe7a (diff) | |
parent | b0ad0995e92fdf6b25056da76c906c51bb06d6a5 (diff) |
Merge tag 'omap-for-v3.9-rc1/fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into fixes
Fix few regressions, omap3 pm init with device tree, and some
issues with the legacy mux code.
* tag 'omap-for-v3.9-rc1/fixes-signed' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: OMAP: RX-51: add missing USB phy binding
ARM: OMAP2+: Remove duplicate omap4430_init_late() declaration
ARM: OMAP2+: mux: correct wrong error messages
ARM: OMAP2+: mux: fix debugfs file permission
ARM: OMAP2+: Fix unmet direct dependencies for zoom for 8250 serial
ARM: OMAP3: board-generic: Add missing omap3_init_late
ARM: OMAP2+: Fix broken gpmc support
ARM: OMAP1: Fix build related to kgdb.h no longer including serial_8250.h
Diffstat (limited to 'arch/arm/mach-omap2/mux.c')
-rw-r--r-- | arch/arm/mach-omap2/mux.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/arch/arm/mach-omap2/mux.c b/arch/arm/mach-omap2/mux.c index 6a217c98db5..f82cf878d6a 100644 --- a/arch/arm/mach-omap2/mux.c +++ b/arch/arm/mach-omap2/mux.c @@ -211,8 +211,6 @@ static int __init _omap_mux_get_by_name(struct omap_mux_partition *partition, return -EINVAL; } - pr_err("%s: Could not find signal %s\n", __func__, muxname); - return -ENODEV; } @@ -234,6 +232,8 @@ int __init omap_mux_get_by_name(const char *muxname, return mux_mode; } + pr_err("%s: Could not find signal %s\n", __func__, muxname); + return -ENODEV; } @@ -739,8 +739,9 @@ static void __init omap_mux_dbg_create_entry( list_for_each_entry(e, &partition->muxmodes, node) { struct omap_mux *m = &e->mux; - (void)debugfs_create_file(m->muxnames[0], S_IWUSR, mux_dbg_dir, - m, &omap_mux_dbg_signal_fops); + (void)debugfs_create_file(m->muxnames[0], S_IWUSR | S_IRUGO, + mux_dbg_dir, m, + &omap_mux_dbg_signal_fops); } } |