ca079ad6af0d9948101992d03e7145ab8b426f66 |
|
24-Sep-2014 |
Varka Bhadram <varkabhadram@gmail.com> |
mrf24j40: use pr_* / dev_* instead of printk() Replace printk() with dev_*() pr_*(). Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alan Ott <alan@signal11.us> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
|
3d920f06e2f2f8f601084718da6c55f8885d7a7f |
|
24-Sep-2014 |
Varka Bhadram <varkabhadram@gmail.com> |
mrf24j40: remove unnecessary return statement Remove the return statement in the void function. Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alan Ott <alan@signal11.us> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
|
529160dc73a1cb4bb377887f5453d33b6d84d18f |
|
24-Sep-2014 |
Varka Bhadram <varkabhadram@gmail.com> |
mrf24j40: fix Missing a blank line after declarations Signed-off-by: Varka Bhadram <varkab@cdac.in> Acked-by: Alan Ott <alan@signal11.us> Signed-off-by: Alexander Aring <alex.aring@gmail.com> Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
|
3dac9a79e1425069e7950bd46bd932e0b1c1d795 |
|
16-Jun-2014 |
Varka Bhadram <varkabhadram@gmail.com> |
mrf24j40: separate h/w init and add checkings separate the mrf24j40 hardware initialisation from probe() and adds the sanity checkings. These checkings are required if somebody hasn't a right spi configuration the probe function should fail. So we have to return from there. Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: David S. Miller <davem@davemloft.net>
|
0aaf43f51dc7e7f00029c90d778e895a88a90cc6 |
|
11-Jun-2014 |
Varka Bhadram <varkabhadram@gmail.com> |
mrf24j40: add device managed APIs adds the device managed APIs so that no need worry about freeing the resources. Signed-off-by: Varka Bhadram <varkab@cdac.in> Signed-off-by: David S. Miller <davem@davemloft.net>
|
b70ab2e87f17176d18f67ef331064441a032b5f3 |
|
14-Mar-2014 |
Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> |
ieee802154: enforce consistent endianness in the 802.15.4 stack Enable sparse warnings about endianness, replace the remaining fields regarding network operations without explicit endianness annotations with such that are annotated, and propagate this through the entire stack. Uses of ieee802154_addr_sa are not changed yet, this patch is only concerned with all other fields (such as address filters, operation parameters and the likes). Signed-off-by: Phoebe Buckheister <phoebe.buckheister@itwm.fraunhofer.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|
40706af0b246f416a35fc3e12dc695deca8da3ff |
|
09-Dec-2013 |
Jingoo Han <jg1.han@samsung.com> |
net: ieee802154: remove unnecessary spi_set_drvdata() The driver core clears the driver data to NULL after device_release or on probe failure. Thus, it is not needed to manually clear the device driver data to NULL. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
16735d022f72b20ddbb2274b8e109f69575e9b2b |
|
14-Nov-2013 |
Wolfram Sang <wsa@the-dreams.de> |
tree-wide: use reinit_completion instead of INIT_COMPLETION Use this new function to make code more comprehensible, since we are reinitialzing the completion, not initializing. [akpm@linux-foundation.org: linux-next resyncs] Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Acked-by: Linus Walleij <linus.walleij@linaro.org> (personally at LCE13) Cc: Ingo Molnar <mingo@kernel.org> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
40afbb657352e92726c40cc4ddf3cf0be6800dba |
|
06-Oct-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Use level-triggered interrupts The mrf24j40 generates level interrupts. There are rare cases where it appears that the interrupt line never gets de-asserted between interrupts, causing interrupts to be lost, and causing a hung device from the driver's perspective. Switching the driver to interpret these interrupts as level-triggered fixes this issue. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
4a4e1da83cc1ff1b8a5171d9b16d4a6c2a6936db |
|
06-Oct-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Use threaded IRQ handler Eliminate all the workqueue and interrupt enable/disable. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
9757f1d2e0b4e7ff59e76c2fadbf819e18f3f884 |
|
06-Oct-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Move INIT_COMPLETION() to before packet transmission This avoids a race condition where complete(tx_complete) could be called before tx_complete is initialized. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
fdb70270015466076846a0525f195f59849c1966 |
|
10-Jul-2013 |
Wolfram Sang <wsa@the-dreams.de> |
drivers/net/ieee802154: don't use devm_pinctrl_get_select_default() in probe Since commit ab78029 (drivers/pinctrl: grab default handles from device core), we can rely on device core for setting the default pins. Compile tested only. Acked-by: Linus Walleij <linus.walleij@linaro.org> (personally at LCE13) Signed-off-by: Wolfram Sang <wsa@the-dreams.de> Signed-off-by: David S. Miller <davem@davemloft.net>
|
3d4a1316286d037c29a36a8451a9612f60404ef7 |
|
08-Apr-2013 |
Wei Yongjun <yongjun_wei@trendmicro.com.cn> |
mrf24j40: use module_spi_driver to simplify the code module_spi_driver() makes the code simpler by eliminating boilerplate code. Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn> Signed-off-by: David S. Miller <davem@davemloft.net>
|
cbde8123f6c18f34781de3a5095fb58e951326f4 |
|
05-Apr-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Enable link-layer acknowledgement and retry On the MRF24J40, link-layer acknowledgment request and retry must be turned on explicitly for each packet. Turn this on in the hardware based on the FC_ACK_REQ bit being set in the packet. Also, now that failure to receive an ACK will cause the hardware to report failure of transmission, change the log level for this failure to debug level. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
4fa0a0ef292a416210018a1074c7b5056773d649 |
|
05-Apr-2013 |
Jingoo Han <jg1.han@samsung.com> |
net: ieee802154: mrf24j40: use spi_get_drvdata() and spi_set_drvdata() Use the wrapper functions for getting and setting the driver data using spi_device instead of using dev_{get|set}_drvdata with &spi->dev, so we can directly pass a struct spi_device. Signed-off-by: Jingoo Han <jg1.han@samsung.com> Signed-off-by: David S. Miller <davem@davemloft.net>
|
119c331f166ab1c55ac40c9840d180dac91f0cff |
|
18-Mar-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Fix byte-order of IEEE address Load the 64-bit Extended (IEEE) address into the hardware in the proper byte order. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
cf82dabd29168b19c4ac651a11010ded34785142 |
|
18-Mar-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Increase max SPI speed to 10MHz Upon consulting the datasheet further, it does indicates a maximum speed for SCK at 10MHz. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
7a1c2318868615a522610c05192dbc9dd423647d |
|
18-Mar-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: Warn if transmit interrupts timeout Issue a warning if a transmit complete interrupt doesn't happen in time. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
50861c7effcad107826e49e6077e64b666c2dc3f |
|
18-Mar-2013 |
Alan Ott <alan@signal11.us> |
mrf24j40: pinctrl support Activate pinctrl settings when used with a DT system. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|
bb1f4606754c45bbb467c15aa5fec84228f73e47 |
|
03-Dec-2012 |
Bill Pemberton <wfp5p@virginia.edu> |
ieee802154: remove __dev* attributes CONFIG_HOTPLUG is going away as an option. As result the __dev* markings will be going away. Remove use of __devinit, __devexit_p, __devinitdata, __devinitconst, and __devexit. Signed-off-by: Bill Pemberton <wfp5p@virginia.edu> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
|
916082b073ebb7f4e064cebce0768e34cacde508 |
|
03-Oct-2012 |
Linus Torvalds <torvalds@linux-foundation.org> |
workqueue: avoid using deprecated functions The network merge brought in a few users of functions that got deprecated by the workqueue cleanups: the 'system_nrt_wq' is now the same as the regular system_wq, since all workqueues are now non- reentrant. Similarly, remove one use of flush_work_sync() - the regular flush_work() has become synchronous, and the "_sync()" version is thus deprecated as being superfluous. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
3731a334c012ed825a87e1f152bbf980f79dabb2 |
|
02-Sep-2012 |
Alan Ott <alan@signal11.us> |
ieee802154: MRF24J40 driver Driver for the Microchip MRF24J40 802.15.4 WPAN module. Signed-off-by: Alan Ott <alan@signal11.us> Signed-off-by: David S. Miller <davem@davemloft.net>
|