summaryrefslogtreecommitdiff
path: root/Documentation/bcache.txt
diff options
context:
space:
mode:
authorDavid R. Piegdon <lkml@p23q.org>2014-06-17 03:42:51 +0400
committerTony Lindgren <tony@atomide.com>2014-06-17 12:05:43 +0400
commitc021f241f4fab2bb4fc4120a38a828a03dd3f970 (patch)
tree3e1fb3d5863db15473e8e5b6dbbf23820e811dda /Documentation/bcache.txt
parent2ca0945fc103bac7e6469682b8e012d6bff5b9c4 (diff)
downloadlinux-c021f241f4fab2bb4fc4120a38a828a03dd3f970.tar.xz
ARM: OMAP2+: Fix parser-bug in platform muxing code
Fix a parser-bug in the omap2 muxing code where muxtable-entries will be wrongly selected if the requested muxname is a *prefix* of their m0-entry and they have a matching mN-entry. Fix by additionally checking that the length of the m0_entry is equal. For example muxing of "dss_data2.dss_data2" on omap32xx will fail because the prefix "dss_data2" will match the mux-entries "dss_data2" as well as "dss_data20", with the suffix "dss_data2" matching m0 (for dss_data2) and m4 (for dss_data20). Thus both are recognized as signal path candidates: Relevant muxentries from mux34xx.c: _OMAP3_MUXENTRY(DSS_DATA20, 90, "dss_data20", NULL, "mcspi3_somi", "dss_data2", "gpio_90", NULL, NULL, "safe_mode"), _OMAP3_MUXENTRY(DSS_DATA2, 72, "dss_data2", NULL, NULL, NULL, "gpio_72", NULL, NULL, "safe_mode"), This will result in a failure to mux the pin at all: _omap_mux_get_by_name: Multiple signal paths (2) for dss_data2.dss_data2 Patch should apply to linus' latest master down to rather old linux-2.6 trees. Signed-off-by: David R. Piegdon <lkml@p23q.org> Cc: stable@vger.kernel.org [tony@atomide.com: updated description to include full description] Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'Documentation/bcache.txt')
0 files changed, 0 insertions, 0 deletions