summaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/core.c
diff options
context:
space:
mode:
authorDan Carpenter <dan.carpenter@oracle.com>2013-03-30 12:53:54 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-03-30 08:08:40 -0700
commitba8618e067907407ec84001adc11bc1f184d19a6 (patch)
tree03ae74d97a9f061eb9625ae3d0bde77126ded44c /drivers/usb/chipidea/core.c
parentadf0f735e61aae5ff615bb0301d9fff29b589a5c (diff)
downloadop-kernel-dev-ba8618e067907407ec84001adc11bc1f184d19a6.zip
op-kernel-dev-ba8618e067907407ec84001adc11bc1f184d19a6.tar.gz
usb: chipidea: fix precedence bug in ci_requests_show()
The intent here was to have parenthesis around the (ci->hw_ep_max / 2) so that it counts like "0 1 2 0 1 2". In the current code, the mod operation happens first so it counts like "0 0 1 1 2 2". Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com> [rebased on top of debug.c changes] Signed-off-by: Alexander Shishkin <alexander.shishkin@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/chipidea/core.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud