summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>2013-03-11 15:32:14 (GMT)
committerFelipe Balbi <balbi@ti.com>2013-03-20 14:46:34 (GMT)
commit3416905ba058e43112ad7b1b4859797f027f5a07 (patch)
tree4a4796af49625c3a795404cdb4b248c878287a2c /include
parent8119b55aed818e590c26cb97706c914e3d660fd8 (diff)
downloadlinux-fsl-qoriq-3416905ba058e43112ad7b1b4859797f027f5a07.tar.xz
usb: gadget: ffs: fix enable multiple instances
This patch fixes an "off-by-one" bug found in 581791f (FunctionFS: enable multiple functions). During gfs_bind/gfs_unbind the functionfs_bind/functionfs_unbind should be called for every functionfs instance. With the "i" pre-decremented they were not called for the zeroth instance. Acked-by: Michal Nazarewicz <mina86@mina86.com> Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com> Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com> Cc: <stable@vger.kernel.org> [ balbi@ti.com : added offending commit's subject ] Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions