From 25e8cae9c165f28c63da99fb6687b06a669cf7eb Mon Sep 17 00:00:00 2001 From: Nicolas Ferre Date: Wed, 21 Mar 2012 14:38:55 +0100 Subject: [PATCH] --- yaml --- r: 298683 b: refs/heads/master c: 1e7caf8bcf1b49eae152ad7cf442775472dd587c h: refs/heads/master i: 298681: 021dc08bb9ef4f800c8c837280ad37e8f621d12c 298679: 8aed373b6c49971446bf15ddc0594769b1ef16b2 v: v3 --- [refs] | 2 +- trunk/drivers/usb/host/ohci-at91.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index f19c02e0e0c5..4cd11a0c3721 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 7bd9523969299f4c845615eade5e523f840dc34c +refs/heads/master: 1e7caf8bcf1b49eae152ad7cf442775472dd587c diff --git a/trunk/drivers/usb/host/ohci-at91.c b/trunk/drivers/usb/host/ohci-at91.c index db8963f5fbce..4d266ae5152d 100644 --- a/trunk/drivers/usb/host/ohci-at91.c +++ b/trunk/drivers/usb/host/ohci-at91.c @@ -247,7 +247,7 @@ static void ohci_at91_usb_set_power(struct at91_usbh_data *pdata, int port, int return; gpio_set_value(pdata->vbus_pin[port], - !pdata->vbus_pin_active_low[port] ^ enable); + pdata->vbus_pin_active_low[port] ^ enable); } static int ohci_at91_usb_get_power(struct at91_usbh_data *pdata, int port) @@ -259,7 +259,7 @@ static int ohci_at91_usb_get_power(struct at91_usbh_data *pdata, int port) return -EINVAL; return gpio_get_value(pdata->vbus_pin[port]) ^ - !pdata->vbus_pin_active_low[port]; + pdata->vbus_pin_active_low[port]; } /*