;desc = NULL
||
usb_ep_align_maybe(): -
it refers ep->desc->wMaxPacketSize-
Signed-off-by: Chao Bi
---
drivers/usb/gadget/f_fs.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2e164
||
usb_ep_align_maybe(): -
it refers ep-desc-wMaxPacketSize-
Signed-off-by: Chao Bi chao...@intel.com
---
drivers/usb/gadget/f_fs.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2e164dc..1e12b3e
;desc = NULL
||
usb_ep_align_maybe(): -
it refers ep->desc->wMaxPacketSize-
Signed-off-by: Chao Bi
---
drivers/usb/gadget/f_fs.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2e164
ile_io ffs_func_eps_disable
||
- usb_ep_disable(): epfile->ep->ep->desc = NULL
||
usb_ep_align_maybe(): -
it refers ep->desc->wMaxPacketSize-
S
-by: Chao Bi chao...@intel.com
---
drivers/usb/gadget/f_fs.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2e164dc..1e12b3e 100644
--- a/drivers/usb/gadget/f_fs.c
+++ b/drivers/usb/gadget/f_fs.c
@@ -745,6 +745,12 @@ static ssize_t
||
usb_ep_align_maybe(): -
it refers ep-desc-wMaxPacketSize-
Signed-off-by: Chao Bi chao...@intel.com
---
drivers/usb/gadget/f_fs.c |7 +++
1 file changed, 7 insertions(+)
diff --git a/drivers/usb/gadget/f_fs.c b/drivers/usb/gadget/f_fs.c
index 2e164dc..1e12b3e
On Thu, 2013-11-28 at 11:53 +0800, Chao Bi wrote:
> On Wed, 2013-11-27 at 20:43 +0530, Ujjal Roy wrote:
> > Hi,
> >
> >
> > We can use IS_ERR_OR_NULL(wdev) to check NULL as well as error value.
> >
> > Thanks,
> > UjjaL
> >
On Wed, 2013-11-27 at 20:43 +0530, Ujjal Roy wrote:
> Hi,
>
>
> We can use IS_ERR_OR_NULL(wdev) to check NULL as well as error value.
>
> Thanks,
> UjjaL
>
> On Wed, Nov 27, 2013 at 8:30 AM, Chao Bi wrote:
> In nl80211_new_interface(), it calls rde
On Wed, 2013-11-27 at 20:43 +0530, Ujjal Roy wrote:
Hi,
We can use IS_ERR_OR_NULL(wdev) to check NULL as well as error value.
Thanks,
UjjaL
On Wed, Nov 27, 2013 at 8:30 AM, Chao Bi chao...@intel.com wrote:
In nl80211_new_interface(), it calls rdev_add_virtual_intf() to create
On Thu, 2013-11-28 at 11:53 +0800, Chao Bi wrote:
On Wed, 2013-11-27 at 20:43 +0530, Ujjal Roy wrote:
Hi,
We can use IS_ERR_OR_NULL(wdev) to check NULL as well as error value.
Thanks,
UjjaL
On Wed, Nov 27, 2013 at 8:30 AM, Chao Bi chao...@intel.com wrote
.
when get a NULL returned value, nl80211_new_interface() is expected to
return but it actually runs down to access the NULL pointer, this could
lead to a panic.
Signed-off-by: Chao Bi
---
net/wireless/nl80211.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/net/wireless
.
when get a NULL returned value, nl80211_new_interface() is expected to
return but it actually runs down to access the NULL pointer, this could
lead to a panic.
Signed-off-by: Chao Bi chao...@intel.com
---
net/wireless/nl80211.c |2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
dlci_release() releasing dlci after gsmtty_install()
allocats dlci but before gsmtty_open increases dlci's ref count;
3) Decrease dlci's ref count in gsmtty_remove(), a tty framework API, this is
the
opposite process of step 2).
Signed-off-by: Chao Bi
---
drivers/tty/n_
dlci after gsmtty_install()
allocats dlci but before gsmtty_open increases dlci's ref count;
3) Decrease dlci's ref count in gsmtty_remove(), a tty framework API, this is
the
opposite process of step 2).
Signed-off-by: Chao Bi chao...@intel.com
---
drivers/tty/n_gsm.c | 39
* Copyright (c) 2010, Intel Corporation.
+ * Ken Mills
+ * Sylvain Centelles
+ * Jun Chen
+ * Chao Bi
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free
* Copyright (c) 2010, Intel Corporation.
+ * Ken Mills
+ * Sylvain Centelles
+ * Jun Chen
+ * Chao Bi
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU General Public License,
+ * version 2, as published by the Free
+ * It supports SSP of Moorestown Medfield platforms and handles clock
+ * slave master modes.
+ *
+ * Copyright (c) 2010, Intel Corporation.
+ * Ken Mills ken.k.mi...@intel.com
+ * Sylvain Centelles sylvain.centel...@intel.com
+ * Jun Chen jun.d.c...@intel.com
+ * Chao Bi chao...@intel.com
+ * It supports SSP of Moorestown Medfield platforms and handles clock
+ * slave master modes.
+ *
+ * Copyright (c) 2010, Intel Corporation.
+ * Ken Mills ken.k.mi...@intel.com
+ * Sylvain Centelles sylvain.centel...@intel.com
+ * Jun Chen jun.d.c...@intel.com
+ * Chao Bi chao...@intel.com
As protocol driver, IFX SPI driver initiate to setup SPI master with default
SPI word size as 16 bit/word, however, SPI master may not adopt this default
value due to SPI controller's capability, it might choose an available value by
itself and set it to spi_device.bits_per_word. In order to keep
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun
Signed-off-by: channing
---
drivers/tty/serial/ifx6x60.c |1 +
1 files changed, 1 insertions(+), 0
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun jun.d.c...@intel.com
Signed-off-by: channing chao...@intel.com
---
drivers/tty/serial/ifx6x60.c |1 +
As protocol driver, IFX SPI driver initiate to setup SPI master with default
SPI word size as 16 bit/word, however, SPI master may not adopt this default
value due to SPI controller's capability, it might choose an available value by
itself and set it to spi_device.bits_per_word. In order to keep
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun
Signed-off-by: channing
---
drivers/tty/serial/ifx6x60.c |1 +
1 files changed, 1 insertions(+), 0
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun jun.d.c...@intel.com
Signed-off-by: channing chao...@intel.com
---
drivers/tty/serial/ifx6x60.c |1 +
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun
Signed-off-by: channing
---
drivers/tty/serial/ifx6x60.c |1 +
1 files changed, 1 insertions(+), 0
On Thu, 2012-11-22 at 11:06 +, Alan Cox wrote:
> > --- a/drivers/tty/serial/ifx6x60.c
> > +++ b/drivers/tty/serial/ifx6x60.c
> > @@ -552,7 +552,10 @@ static void ifx_port_shutdown(struct tty_port
> > *port) container_of(port, struct ifx_spi_device, tty_port);
> >
> >
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun
Signed-off-by: channing
---
drivers/tty/serial/ifx6x60.c |5 -
1 files changed, 4
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun jun.d.c...@intel.com
Signed-off-by: channing chao...@intel.com
---
drivers/tty/serial/ifx6x60.c |5
On Thu, 2012-11-22 at 11:06 +, Alan Cox wrote:
--- a/drivers/tty/serial/ifx6x60.c
+++ b/drivers/tty/serial/ifx6x60.c
@@ -552,7 +552,10 @@ static void ifx_port_shutdown(struct tty_port
*port) container_of(port, struct ifx_spi_device, tty_port);
mrdy_set_low(ifx_dev);
-
When shut down SPI port, it's possible that MRDY has been asserted and a SPI
timer was activated waiting for SRDY assert, in the case, it needs to delete
this timer.
Signed-off-by: Chen Jun jun.d.c...@intel.com
Signed-off-by: channing chao...@intel.com
---
drivers/tty/serial/ifx6x60.c |1 +
In intel_mid_dma.c, when setup DMA controller, its interrupt
mask value is hard coded, it's not needed because this value
has already been initiated and set value according to DMA
channels which are used.
cc: Chen Jun
Signed-off-by: channing
---
drivers/dma/intel_mid_dma.c |1 -
1 files
In intel_mid_dma.c, when setup DMA controller, its interrupt
mask value is hard coded, it's not needed because this value
has already been initiated and set value according to DMA
channels which are used.
cc: Chen Jun jun.d.c...@intel.com
Signed-off-by: channing chao...@intel.com
---
32 matches
Mail list logo