OSDN Git Service

usb: gadget: Fix copy/pasted error message
authorDavid Lechner <david@lechnology.com>
Mon, 2 Jan 2017 23:28:39 +0000 (17:28 -0600)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 7 Aug 2017 02:19:46 +0000 (19:19 -0700)
commit7ea3cc440ec9f3c53fdc54f59248d19f2d29106c
tree23fef9de9e99329c09d108fec17951bc22299c58
parentf4a42f8492bdca120e296348f615f8f8c0250a07
usb: gadget: Fix copy/pasted error message

[ Upstream commit 43aef5c2ca90535b3227e97e71604291875444ed ]

This fixes an error message that was probably copied and pasted. The same
message is used for both the in and out endpoints, so it makes it impossible
to know which one actually failed because both cases say "IN".

Make the out endpoint error message say "OUT".

Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Sasha Levin <alexander.levin@verizon.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/function/f_hid.c