YAMAMOTO Takashi
e5592b615d
drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
abb10784d9
drivers/wireless/ieee80211/bcm43xxx/bcmf_core.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
4fea157642
drivers/wireless/ieee80211/bcm43xxx/mmc_sdio.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
5a57f10b9c
drivers/wireless/ieee80211/bcm43xxx/bcmf_netdev.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2874f613a6
drivers/wireless/ieee80211/bcm43xxx/bcmf_utils.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
b7358e9542
drivers/wireless/ieee80211/bcm43xxx/bcmf_bdc.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
7d5259c767
drivers/wireless/ieee80211/bcm43xxx/bcmf_cdc.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
2d892343d9
drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c: Fix syslog formats
...
The following nxstyle errors are not trivial to fix because
they are parts of the ioctl api.
drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c:1083:34: error: Mixed case identifier found
drivers/wireless/ieee80211/bcm43xxx/bcmf_driver.c:1445:7: error: Mixed case identifier found
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
d9b569b4d3
drivers/usbdev/adb.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
a0c7a14fed
drivers/sensors/bmp180.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
5c871c6f47
drivers/sensors/bmp180.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
e3617dd8fb
drivers/sensors/ina219.c: Fix a syslog format
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
41f22bdba0
drivers/sensors/ina219.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
d1b5ab99ec
drivers/mtd/sector512.c: Fix syslog formats
2020-12-05 08:13:32 -06:00
YAMAMOTO Takashi
cb52176615
drivers/mtd/sector512.c: Appease nxstyle
2020-12-05 08:13:32 -06:00
yjdwbj
6aba444359
Added: MT29F2G Nand Flash block driver for sam4s-xplained-pro.
...
Fixed: SDIO Interface hanging after inserted SD Card.
Disabled the CONFIG_SYSTEMTICK_EXTCLK, using nxsig_usleep instead of usleep
2020-12-04 22:41:46 -08:00
Diego Herranz
117947b5a1
drivers/led/ws2812: fix comments
...
Complete or improve some explanations and fix some typos
2020-12-02 21:22:12 -08:00
YAMAMOTO Takashi
720e90a7ce
drivers/wireless/ieee802154/xbee/xbee.c: Fix a syslog format
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
e5b63cddce
drivers/wireless/ieee802154/mrf24j40/mrf24j40_getset.c: Fix a syslog format
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
fc05f89c78
drivers/net/enc28j60.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
3086ceb28a
drivers/net/enc28j60.c: Replace non ascii character (0xB5, "micro")
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f71b44e266
drivers/mtd/n25qxxx.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
55590318a4
drivers/mtd/n25qxxx.c: Appease nxstyle
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
0b1c2322c4
drivers/input/djoystick.c: Fix a syslog format
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
874101aede
drivers/input/djoystick.c: Appease nxstyle
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
5749599b0b
drivers/mtd/mx25rxx.c: Fix syslog formats
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f97f6a6a36
drivers/mtd/mx25rxx.c: Appease nxstyle
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
8bfd344600
drivers/net/tun.c: Fix a syslog format
2020-12-02 02:53:47 -06:00
YAMAMOTO Takashi
f5a5ec2d81
drivers/sensors/lm75.c: Fix syslog format
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
a9ae7edb95
drivers/sensors/lm75.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
57f45a07c4
drivers/mtd/at25.c: Fix a syslog format
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
cac4f384e5
drivers/mtd/at25.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
819e13888c
drivers/mtd/at24xx.c: Fix a syslog format
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
99f545f5c3
drivers/mtd/at24xx.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
aa294546f4
drivers/sensors/xen1210.c: Fix syslog formats
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
52d539d201
drivers/sensors/xen1210.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
bdabaa87c6
drivers/audio/cs43l22.c: Fix a syslog format
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
c1ba3e8ba0
drivers/lcd/st7565.c: Fix syslog formats
2020-11-30 05:28:17 -06:00
YAMAMOTO Takashi
f347edd0fd
drivers/lcd/st7565.c: Appease nxstyle
2020-11-30 05:28:17 -06:00
Huang Qi
f0e8d10d1a
drivers/audio: Make audio_null play at real speed
...
N/A
Signed-off-by: Huang Qi <huangqi3@xiaomi.com>
Change-Id: I69a52ee2b03836006f613c4dc41837b6123ad2d5
2020-11-30 03:30:30 -06:00
YAMAMOTO Takashi
bd1a586838
drivers/can/mcp2515.c: Fix a syslog format
2020-11-28 23:14:05 -06:00
YAMAMOTO Takashi
917c88017f
drivers/can/mcp2515.c: Appease nxstyle
...
The following nxstyle error is intentionally left.
It's a URL.
drivers/can/mcp2515.c:1561:93: error: Long line found
2020-11-28 23:14:05 -06:00
Chaochao Cui
fbb3cd660b
add simple wm8994 codec driver
2020-11-28 10:23:40 -03:00
chao.an
049c991d28
style/Kconfig: remove unnecessary trailing whitespace
...
N/A
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
chao.an
c56785bd0d
style/Makefile: remove unnecessary trailing whitespace
...
N/A
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-11-28 12:20:30 +01:00
YAMAMOTO Takashi
53a3d652b5
drivers/sensors/max31855.c: Fix a syslog format
2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
6a9a3d05d8
drivers/sensors/max31855.c: Appease nxstyle
2020-11-27 23:38:40 -06:00
YAMAMOTO Takashi
afe3c2cdb5
drivers/usbdev/rndis.c: Fix syslog formats
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
e2ec8e974c
drivers/lcd/ft80x_spi.c: Fix a syslog format
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
d6a562e3e1
drivers/wireless/gs2200m.c: Fix syslog formats
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
b3d39176bc
drivers/audio/cxd56.c: Fix syslog formats
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
56dcad1540
drivers/lcd/st7567.c: Remove references to non existent st7567_powerstring
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
7b897ac186
drivers/lcd/st7567.c: Appease nxstyle
2020-11-27 05:18:57 -06:00
YAMAMOTO Takashi
89183fec00
drivers/timers/pwm.c: Fix a syslog format
2020-11-27 05:18:57 -06:00
Augusto Fraga Giachero
ffcedfd971
Remove copyright from headers
2020-11-25 05:13:46 -08:00
Augusto Fraga Giachero
6a43daa67e
Update licenses to Apache 2.0
2020-11-25 05:13:46 -08:00
YAMAMOTO Takashi
aad25bc4c8
drivers/usbdev/cdcecm.c: Fix a syslog format
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
4b740fa13a
drivers/usbdev/cdcecm.c: Fix an undefined variable in a syslog call
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
723f590345
drivers/mtd/m25px.c: Fix a syslog format
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
ab7ae96a1e
drivers/mtd/m25px.c: Appease nxstyle
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
75484f95b8
drivers/can/can.c: Fix a syslog format
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
510e72567f
drivers/net/dm90x0.c: Fix a syslog format
2020-11-25 05:11:26 -08:00
YAMAMOTO Takashi
597675bd7f
drivers/mmcsd/mmcsd_sdio.c: Fix a syslog format
2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
5706e3851d
drivers/wireless/lpwan/sx127x/sx127x.c: Fix syslog formats
2020-11-24 22:31:33 -08:00
YAMAMOTO Takashi
f8da954e7c
drivers/sensors/sensor.c: Fix a syslog format
2020-11-24 22:31:33 -08:00
ligd
09778c38b1
rptun: fix rptun rpmsg_unregister_callback fault
...
N/A
Change-Id: I6447e2ec71a4020533336f35e2aa97a860742e63
Signed-off-by: ligd <liguiding1@xiaomi.com>
2020-11-24 21:52:29 -08:00
dongjiuzhu
148afd9548
driver/sensors: support custom type of sensor.
...
For examples, the custom sensor could define:
struct custem_event_s
{
uint64_t timestamp;
int16_t adc[8];
};
struct sensor_lowerhalf_s g_lower =
{
.buffer_size = 1024,
};
sensor_custom_register(lower, "/dev/sensor/custom0", sizeof(struct custem_event_s));
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-24 13:23:15 -03:00
YAMAMOTO Takashi
86c16667f8
drivers/net/loopback.c: Fix a syslog format
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
5c5fc00fc4
drivers/net/telnet.c: Fix syslog formats
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
8e73a3ed4c
drivers/rwbuffer.c: Fix syslog formats
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
7f32cfa720
drivers/mtd/mtd_rwbuffer.c: Fix a syslog format
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
5b25cf8e47
drivers/mtd/mtd_rwbuffer.c: Appease nxstyle
2020-11-23 05:00:10 -08:00
YAMAMOTO Takashi
c1f8e270eb
drivers/rc/dummy.c: Fix a syslog format
2020-11-23 05:00:10 -08:00
Brennan Ashton
3ebcd045b5
usb: Do not try to print verbose trace when disabled
...
Right now if usb tracing is enabled but verbose is disabled
a debug assert will be triggered when ever a verbose trace point
is hit. Instead of trying to print the NULL message, just return
early.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-22 21:24:59 -08:00
YAMAMOTO Takashi
ce228e5de5
drivers/mtd/smart.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
2aaee783c9
drivers/mtd/sst25xx.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
3ca8e3ff37
drivers/mtd/sst25xx.c: Appease nxstyle
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c8958586a7
drivers/mmcsd/mmcsd_spi.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
d05299f37d
drivers/leds/userled_lower.c: Fix a syslog format
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
679bf60efc
drivers/usbhost/usbhost_storage.c: Fix a syslog format
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
0cfec6ee0b
drivers/usbhost/usbhost_enumerate.c: Fix a syslog format
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
e2cb109dec
drivers/usbhost/usbhost_enumerate.c: Appease nxstyle
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
a11c987699
drivers/mtd/smart.c: Fix syslog formats
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
c807ad9220
drivers/mtd/smart.c: Appease nxstyle
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
fc2ae3a8dd
drivers/leds/userled_upper.c: Fix a syslog foramt
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
9b7d87738f
drivers/leds/userled_upper.c: Appease nxstyle
2020-11-22 19:01:05 -08:00
YAMAMOTO Takashi
a88dcb3b77
drivers/mmcsd/mmcsd_spi.c: Fix a syslog format
2020-11-22 19:01:05 -08:00
Matias N
d5b6ec450f
Parallelize depend file generation
2020-11-22 09:02:59 -03:00
dongjiuzhu
670254dffd
driver/rc: fix bug about lirc_read
...
N/A
Change-Id: I0d4f5cbea993ad0d9c29c7914c12d2c228bdebda
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-22 01:34:04 -08:00
YAMAMOTO Takashi
b48408cdeb
drivers/mtd/ftl.c: Fix syslog formats
2020-11-21 19:38:32 -08:00
YAMAMOTO Takashi
00c15a7fa1
drivers/input/button_lower.c: Fix syslog formats
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
a9c84e1941
drivers/input/button_upper.c: Fix a syslog format
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
eadf358bdc
drivers/timers/pwm.c: Fix syslog formats
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
b286902266
drivers/mtd/ftl.c: Fix syslog formats
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
ec448f64a1
drivers/mmcsd/mmcsd_sdio.c: Fix syslog formats
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
07839b6025
drivers/i2c/i2c_driver.c: Fix a syslog format
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
bffba65e37
drivers/ramdisk.c: Fix a syslog format
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
7c962595a5
drivers/ramdisk.c: Fix syslog format errors
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
0bb7b44976
drivers/loop/losetup.c: Fix syslog format errors
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
1c3ae7f01e
drivers/bch/bchlib_cache.c: Fix syslog format errors
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
bc552397e9
drivers/bch/bchlib_read.c: Fix a syslog format error
2020-11-20 22:22:53 -08:00
YAMAMOTO Takashi
c3a325d9e5
drivers/input/button_upper.c: Appease nxstyle
2020-11-20 22:22:53 -08:00
Michal Lenc
8cf6cfda1a
imxrt: Added support for DP83825I PHY
...
Signed-off-by: Michal Lenc <lencmich@fel.cvut.cz>
2020-11-20 20:34:57 -03:00
dongjiuzhu
8f9ca79ffc
driver/sensor rc: use mm/circbuf manage intermediate buffer
...
N/A
Change-Id: Ifdd8117da9d20ac2f48f04b7b383449e6dd03f06
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-20 05:33:03 -08:00
Tido Klaassen
93ff68e75a
serial: Prevent RX stall
...
Re-check RX queue status after uart_enablerxint() and before blocking
the reading task on the receive semaphore. cdcacm (and maybe other UART
drivers) can push buffered data into the receive queue during
uart_enablerxint(), leading to a blocked task while data is already
available.
Signed-off-by: Tido Klaassen <tido@4gh.eu>
2020-11-20 04:16:35 -08:00
dongjiuzhu
60d1755e04
drivers: l3gd20 supports the sensor driver model
...
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-19 18:13:17 -08:00
Juha Niskanen
23495a7fa2
drivers/mtd/mtd_progmem.c: fix progmem_log2 parameter type to match prototype
...
If size_t != uint32_t, this can give a build error:
mtd/mtd_progmem.c:134:16: error: conflicting types for 'progmem_log2'
134 | static int32_t progmem_log2(uint32_t blocksize)
| ^~~~~~~~~~~~
mtd/mtd_progmem.c:82:16: note: previous declaration of 'progmem_log2' was here
82 | static int32_t progmem_log2(size_t blocksize);
| ^~~~~~~~~~~~
Makefile:118: recipe for target 'mtd_progmem.o' failed
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-19 07:43:07 -08:00
Tobias Johansson
c06c6ffa81
cxd56: add initial audio SRC implementation
...
Add basic sample rate conversion to the CXD56 Spresense audio
driver using libsamplerate. Currently conversion is only done
during playback and all output is fixed at 48 kHz.
Issues:
- 16 kHz SRC has glitches (unless data dump is enabled)
- 44.1 kHz SRC gets stuck
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-19 07:29:07 +09:00
YAMAMOTO Takashi
6d2c28e70d
drivers/wireless/gs2200m.c: Fix scanf format warnings
2020-11-18 00:44:55 -08:00
Diego Herranz
d4c0786f52
drivers/leds/apa102: Fix code style
...
As reported by the CI tests
2020-11-17 18:47:45 -08:00
Diego Herranz
d742eaac89
drivers/leds/apa102: remove/fix references to I2C/LM-75
2020-11-17 18:47:45 -08:00
YAMAMOTO Takashi
fb91fed70c
drivers/modem/altair/altmdm_spi.c: Fix type mismatches
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
1373f476fb
drivers/audio/wm8776.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
a3b7391dcb
drivers/audio/cs4344.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
61bf05d26e
drivers/audio/vs1053.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
df86bfd4cd
drivers/audio/cs43l22.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
320b7131e0
drivers/wireless/ieee802154/mrf24j40/mrf24j40_regops.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
950fff8e66
drivers/audio/cxd56.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
9a7de336d0
drivers/wireless/ieee802154/mrf24j40/mrf24j40_regops.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
5ef5d2c598
drivers/audio/audio_null.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
2cc96365b0
drivers/audio/wm8904.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
565a67262b
drivers/mtd/mtd_partition.c: Fix printf format warnings
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
f8d6a85f90
drivers/syslog/vsyslog.c: Fix a printf format warning
2020-11-16 08:29:00 -08:00
YAMAMOTO Takashi
4c663c9713
drivers/mtd/mtd_partition.c: Appease nxstyle
2020-11-16 05:46:53 -08:00
Frank-Christian Kruegel
bf5fa5557d
Support for MAX1161X family of I2C 12 bit ADC chips:
...
MAX11612: 4 channels VCC=5V0 Int VRef=4.096V
MAX11613: 4 channels VCC=3V3 Int VRef=2.048V
MAX11614: 8 channels VCC=5V0 Int VRef=4.096V
MAX11615: 8 channels VCC=3V3 Int VRef=2.048V
MAX11616: 12 channels VCC=5V0 Int VRef=4.096V
MAX11617: 12 channels VCC=3V3 Int VRef=2.048V
Note: The chips' auto-scanning feature is not supported in this revision.
2020-11-15 05:59:01 -08:00
Simon Piriou
da70eb5c56
usbdev: adb: fix missing break
2020-11-12 21:35:07 -08:00
dongjiuzhu
089b1c17f6
driver/sensor: add fetch api to read sensor data directly
...
1.use userspace buffer rather than intermediate buffer of upperhalf driver
2.support block and non-block ways.
Change-Id: I1d0cecfaa20ce54961c58713d8f2f8857e349791
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-11 18:25:22 -08:00
dongjiuzhu
2cda16b606
driver/sensor: add new feature about sensor driver
...
1.support for multi-user access
2.support special cmd to control sensor
3.support userspace to set size of intermediate buffer
by ioctl: SNOIC_SET_BUFFER_SIZE
Change-Id: I9ce3a65b88b12c28388ec397431f1a277b120c2a
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-11 18:25:22 -08:00
dongjiuzhu
2482052228
driver/sensor: user specifies device register number
...
N/A
Change-Id: Idd11461f933dd21b7271cd3ca87a2e33127a9d34
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-11 18:25:22 -08:00
Juha Niskanen
ca7a7ccbeb
Fix some typos in comments
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-08 18:58:20 +01:00
Juha Niskanen
62d38c32e8
drivers/lcd/memlcd.c: fix typos and nxstyle
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-11-08 18:58:20 +01:00
Tobias Johansson
2cce572162
drivers: audio: cxd56: rename queue status
...
This commit improves the readability for each state
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-06 11:11:27 +09:00
Tobias Johansson
43b21a4693
drivers: audio: cxd56: add I2S debugging
...
When audio fails it is usefull to have I2S transfer errors in place
to be able to track the issue
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-06 11:11:27 +09:00
Tobias Johansson
d572b06a6c
drivers:audio: cxd56: move helpers to the header file
...
The Queue helpers should be moved to the header file
Signed-off-by: Alin Jerpelea <alin.jerpelea@sony.com>
2020-11-06 11:11:27 +09:00
dongjiuzhu
8562e17ef1
rc/dummy: add dummy driver to test driver skeleton
...
N/A
Change-Id: Iae3c22587f9939f6923b102bf4c51bb7f88a6429
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-05 11:38:28 -03:00
dongjiuzhu
2ed6e13241
driver/rc: support IR remote control
...
N/A
guide link: https://www.kernel.org/doc/html/v4.14/media/uapi/rc/lirc-dev.html
Change-Id: I84abfc12578d444d72c8c0df31d06d1a85ce0725
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-11-05 11:38:28 -03:00
Brennan Ashton
54832f37f2
sim: Initial Linux i2c bus support
...
This adds the inital wiring for i2c bus support in the sim target
and for Linux host adds the lower half that uses the i2c chardev.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-04 23:51:09 -08:00
Matias N
9266c54bc2
lcd: add optional putarea()/getarea() operations
2020-11-04 04:00:22 -08:00
Masatoshi Ueno
04ec9cf989
gs2200m: Add function to get IWNWID / IWFREQ / IWSENS information
...
Summary:
- This commit enables gs2200m driver to get IWNWID/IWFREQ/IWSENS information
Impact:
- Affects gs2200m only
Testing:
- Tested with spresense:wifi
2020-11-02 19:58:58 +09:00
Nakamura, Yuuichi
7905ee17d4
Add task name recording for note RAM driver
2020-11-02 01:12:08 -08:00
Brennan Ashton
21f9093966
nxstyle fixes
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-02 00:04:08 -08:00
Brennan Ashton
b459645105
lcd: Minor fixes to ssd1306 i2c driver
...
The sendblk function was missing NOSTOP on the first msg of the
i2c transaction. This could cause an extra STOP to be inserted
in the transaction.
The driver uses up_mdelay for some timing where it should be
using a sleep.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-11-02 00:04:08 -08:00
Masatoshi Ueno
c0b4bd2f85
gs2200m: Check disassociation from AP and enable rejoin
...
Summary:
- This commit enables gs2200m driver re-associate to the access point when disassociated
Impact:
- Affects gs2200m only
Testing:
- Tested with spresense:wifi
2020-11-02 16:11:13 +09:00
Matias N
f97f1bbd1a
lcd_dev: put header in correct location; fix missing const
2020-10-31 13:26:30 -07:00
Matias N
278e7af5e5
Add LCD character driver: allows interacting with LCD directly from userspace
2020-10-30 19:55:10 -07:00
Yoshinori Sugino
c13f869432
Modify SIGSTP to SIGTSTP
...
Follow the POSIX description.
SIGTSTP should be sent when the Ctrl-Z characters is encountered, not SIGSTP.
Testing:
Built with hifive1-revb:nsh (CONFIG_SERIAL_TERMIOS=y, CONFIG_SIG_DEFAULT=y and CONFIG_TTY_SIGTSTP=y)
2020-10-29 01:12:43 -07:00
Yoshinori Sugino
13c0debec7
drivers/serial/Kconfig: Fix typos
2020-10-28 23:47:39 -07:00
Juha Niskanen
d53abbc4ac
drivers/lcd: ssd1306: cleanup to comments, README, nxstyle issues
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-10-28 19:28:30 -07:00
Juha Niskanen
bdb398fa8c
drivers/lcd: ssd1306: fix one bad debug assert
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-10-28 19:28:30 -07:00
Masayuki Ishikawa
1e321ca032
drivers: wireless: Fix tcp/udp connect with heavy bulk data traffic in gs2200m.c
...
Summary:
- During network stress testing, ASSERT happened in gs2200m_ioctl_connect()
- The test was nxplayer (http audio streaming) and repeating wget every 0.5sec
- gs2200m_ioctl_connect() calls gs2200m_send_cmd() to send an AT command
- Then it waits for a synchronous command response.
- However, if heavy tcp traffic happens on another socket, it can receive a bulk packet
- With this commit, if it receives such a packet then the packet is duplicated.
- After that, the duplicated packet is added to the packet queue and notify the userland.
Impact:
- Affect almost all use cases with gs2200m
Testing:
- Tested with both spresense:wifi and spresense:wifi_smp
- Tested with nxplayer (http audio streaming) and repeat wget
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-28 11:36:17 -07:00
Juha Niskanen
1115452061
drivers/pipes: nx_pipe syscall takes three params, also use nx_close on error path
...
Signed-off-by: Juha Niskanen <juha.niskanen@haltian.com>
2020-10-28 09:11:05 -07:00
Simon Piriou
b405722276
usbdev: add Android Debug Bridge driver
2020-10-26 08:28:48 -03:00
dongjiuzhu
d452a05910
pollnotify: we should send poll events before semaphore incrementes.
...
There is a good case on sim platform:
When we input some cmd and click enter key to start application in terminal,
this context will change to application from IDLE loop. Althrough entey key '\r'
has been received to recv buffer and complete post semaphore of reader, but
pollnotify may not be called because context change. So when application run
poll function, because no events happend and poll enter wait, context will
again change to IDLE loop, this pollnotify of IDLE loop will run to send poll
events, poll function of applicaton will wake up. It's wrong!
Change-Id: I812a889f2e90781a9c3cb4b0251cccc4d32bebd1
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-26 08:27:09 -03:00
Masayuki Ishikawa
df952074eb
drivers: wireless: Add support for ioctl(fd, SIOCGIFADDR, ...) to gs2200m.c
...
Summary:
- This commit adds support for ioctl(fd, SIOCGIFADDR, ...) to gs2200m.c
Impact:
- Only affects ioctl(fd, SIOCGIFADDR, ...) with gs2200m
- Need to update apps/wireless/gs2200m as well
Testing:
- Tested with spresense:wifi
- Tested with dhcpc
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 10:53:34 +01:00
Masayuki Ishikawa
f12d49076c
drivers: wireless: Fix to handle address info in accept() in gs2200m.c
...
Summary:
- This commit fixes to handle address info in accept() in gs2200m.c
Impact:
- All use cases which use accept() with gs2200m
- Need to update apps/wireless/gs2200m as well
Testing:
- Tested with spresene:wifi
- Tested with telnet daemon
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>>
2020-10-26 10:53:34 +01:00
Masayuki Ishikawa
02b08590a1
drivers: wireless: Fix to handle UDP connect() with bind() in gs2200m.c
...
Summary:
- This commit fixes to handle UDP connect() with bind() to a local port.
Impact:
- All UDP cases which use connect() with gs2200m
- Need to update apps/wireless/gs2200m as well
Testing:
- Tested with spresense:wifi
- Create a UDP socket and bind() to a local port.
- Then connect() to remote address with port and send()
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-26 10:53:34 +01:00
Yoshinori Sugino
3ac90fca79
Remove tabs and spaces at the end of lines
2020-10-24 09:38:21 +01:00
dongjiuzhu
a3f978da02
sensor/driver: wtgahrs2 by serial interface follow sensor.c/sensor.h
...
Wtgahrs2 integrates multiple sensor: accel, gyro, mag, baro and gps.
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-22 10:17:36 -03:00
dongjiuzhu
fa09c6a8bc
driver/sensor: add unified management for sensor
...
Signed-off-by: dongjiuzhu <dongjiuzhu1@xiaomi.com>
2020-10-22 10:17:36 -03:00
Alexander Vasiljev
d523757d4a
serial: break from read after closing
2020-10-21 09:20:04 -07:00
Xiang Xiao
eb4121ce38
Change all 'Nuttx' to 'NuttX'
...
Unify the naming convention
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-10-20 01:45:06 -07:00
Philippe Coval
cafe24528c
sensors: Support fxos8700cq motion I2C sensor
...
Device is composed of
3-axis, linear accelerometer and 3-axis, magnetometer
It is onboarded in NXP FRDM-K64F SBC.
Change-Id: I405a12cbf2c9994f3bd66e108d2eb8faeee00e18
Bug: https://github.com/apache/incubator-nuttx/issues/1988
Relate-to: https://www.nxp.com/docs/en/data-sheet/FXOS8700CQ.pdf
Forwarded: https://github.com/apache/incubator-nuttx/pull/1989
Signed-off-by: Philippe Coval <rzr@users.sf.net>
2020-10-16 10:10:35 +08:00
raiden00pl
33901969fe
Fix nxstyle warnings
2020-10-10 12:24:28 -06:00
raiden00pl
1621305e79
drivers: Changed headers for apache 2.0 license
2020-10-10 12:24:28 -06:00
Masayuki Ishikawa
822497d021
drivers: note: Fix compile errors in noteram_driver.c
...
Summary:
- This commit fixes compile errors if CONFIG_DEBUG_ASSERTIONS=y
Impact:
- Affects noteram_driver only
Testing:
- Tested with spresense:wifi_smp with CONFIG_DEBUG_ASSERTIONS=y
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-10-06 16:42:40 +08:00
Nakamura, Yuuichi
89ea234af8
Add on-boot instrumentation support for note filter
2020-10-06 03:26:46 +08:00
Nakamura, Yuuichi
a373079a94
Fix /dev/note driver for task trace support
2020-10-06 03:26:46 +08:00
Nakamura, Yuuichi
6efecd2105
Add notectl driver
2020-10-06 03:26:46 +08:00
Nathan Hartman
80ce7800a9
Sources and Docs: Fix typos and nxstyle issues
...
Documentation/contributing/coding_style.rst:
* Fix repeated words: ("this this").
* Remove trailing spaces.
boards/z80/z80/z80sim/README.txt:
* Fix repeated words: ("this this") and rewrap lines.
graphics/Kconfig,
libs/libc/math/Kconfig:
* Fix repeated words: ("this this").
arch/arm/src/armv7-a/arm_assert.c,
arch/arm/src/armv7-r/arm_assert.c,
arch/arm/src/imxrt/imxrt_enet.c,
arch/arm/src/kinetis/kinetis_enet.c,
arch/arm/src/kinetis/kinetis_flexcan.c,
arch/arm/src/s32k1xx/s32k1xx_enet.c,
arch/arm/src/s32k1xx/s32k1xx_flexcan.c,
arch/arm/src/stm32/stm32_pwm.c,
arch/arm/src/stm32h7/stm32_pwm.c,
arch/arm/src/stm32l4/stm32l4_pwm.c,
arch/renesas/src/rx65n/rx65n_usbdev.c,
binfmt/libnxflat/libnxflat_bind.c,
drivers/pipes/pipe_common.c,
net/igmp/igmp_input.c,
net/tcp/tcp_conn.c,
sched/sched/sched_roundrobin.c:
* Fix typo in comment ("this this").
arch/arm/src/cxd56xx/cxd56_usbdev.c,
arch/arm/src/lc823450/lc823450_usbdev.c:
* Fix typo in comment and rewrap lines.
arch/arm/src/imxrt/imxrt_usbdev.c,
arch/arm/src/stm32/stm32_dac.c,
arch/arm/src/stm32f0l0g0/stm32_pwm.c,
arch/arm/src/stm32f7/stm32_pwm.c,
arch/arm/src/tiva/lm/lm4f_gpio.h,
fs/nxffs/nxffs_write.c,
include/nuttx/analog/pga11x.h,
include/nuttx/usb/usbdev.h,
net/mld/mld_join.c:
* Fix typo in comment ("this this").
* Fix nxstyle issues.
2020-10-02 04:54:52 +02:00
Brennan Ashton
f41b9a10b3
ws2812: moved SPI_LOCK and forgot to change spi drv var name
...
This snuck in durring a slight PR fixup.
2020-09-28 08:25:43 +01:00
Xiang Xiao
650e18baa1
serial: Shouldn't mangle pid when ISIG is changed
...
Let's check ISIG flag directly instead
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I060f70eefc79b1c34aa11ed4071179d2ae5fa5ca
2020-09-25 06:48:26 -07:00
Alexander Vasiljev
834e584169
spi_xx25xx: in write operation return the number of bytes written not the result of ee25xx_semtake
2020-09-25 04:51:25 -07:00
Xiang Xiao
eacca2b7a2
wireless/bluetooth: replace open with file_open in uart shim drivers
...
it is simpler than open and then file_detach
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I22585b7450804c6c012fecf369a8d7e25970c192
2020-09-23 15:08:18 -03:00
Masayuki Ishikawa
89cfaf1e6a
drivers: audio: Fix cxd56.c for SMP
...
Summary:
- Add spin_unlock_irqrestore to avoid deadlock
- Improve cxd56_resume() sequence
- Remove AUDIO_MSG_USER and call cxd56_stop_dma() for buffering
- Remove redandant 'Lock interrupt' and 'Unlock interrupt'
Impact:
- Affects all use cases with cxd56.c audio driver
Testing:
- Tested with spresense:rndis and spresense:rndis_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-23 10:45:29 +02:00
spiriou
65bb956e5e
pipe: check for writers first in case of pipe empty
2020-09-21 19:30:21 -07:00
Brennan Ashton
5498f72fa5
input: Q10 BlackBerry Keyboard from Solder Party
...
This adds support for the Q10 BlackBerry based keyboard
from Solder Party. https://www.solder.party/docs/keyboard-pmod/
They keyboard device registered at /dev/kbdN is fully compatible
with hidkbd and has been testing with the Keyboard FeatherWing
on the nRF52 platform.
The buttons are added as a standard discrete joystick if
optionally enabled. The PMOD variant of this does not
include these buttons, but the Keyboard FeatherWing does.
This joystick is usually defined at /dev/djoyN and
can be used with the djoy example application.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-21 07:40:42 -06:00
chao.an
614ac5b0f2
libs/libc/unistd: Implement pipe2(2) syscall
...
See the reference here:
https://www.man7.org/linux/man-pages/man2/pipe2.2.html
Change-Id: Ife19b9bdbde73c7421be381a094da67017819e63
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-09-18 20:01:26 -07:00
chao.an
8f52d4536c
timers/watchdog: configable keep alive interval
...
Change-Id: I519f5f9e0a8ab7ca298f834af20f7ad437ef92a4
Signed-off-by: chao.an <anchao@xiaomi.com>
2020-09-18 19:58:29 -07:00
Augusto Fraga Giachero
f92e9641cd
Fix coding style issues
...
Fix long lines pointed by nxstyle.
2020-09-18 07:03:09 -07:00
Augusto Fraga Giachero
1efbb4c114
Fix build errors when using DEBUGASSERT
...
I never tested these drivers with debug assertions enabled as I should
have. This commit fixes build errors due to wrong variable names used.
2020-09-18 07:03:09 -07:00
Brennan Ashton
7554eedf9a
input: STMPE811 GPIO interrupt bug fixes
...
This patch resolves to bugs in the GPIO interrupt logic:
1. Any pins did not have STMPE811_GPIO_RISING in their pincfg
would clear the rising edge interrupt enable flag for all
pins due to a masking bug.
2. Pins would never trigger a second interrupt. There is an
undocumented requirement that you have to clear both the
GPIO interrupt status register __and__ also the edge
detection status register. Failure to clear either of
these will result in no further interrupts being triggered.
This requirement exists both for edge and level modes of
operation.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-17 21:32:05 -07:00
Gregory Nutt
415d83cf19
STMPE811: Fix name collision in include/nuttx/input/stmpe811.h
...
The macro name GPIO_PIN collides with naming used by many architectures:
$ find . -name "*.h" | xargs grep "define GPIO_PIN[(]"
./arch/arm/src/am335x/hardware/am335x_gpio.h:#define GPIO_PIN(n) (1 << ((n) & 0x1f)) /* Bit n: Pin n, n=0-31 */
./arch/arm/src/imx6/hardware/imx_gpio.h:#define GPIO_PIN(n) (1 << (n)) /* Bit n: Pin n, n=0-31 */
./arch/arm/src/imxrt/hardware/imxrt_gpio.h:#define GPIO_PIN(n) (1 << (n)) /* Bit n: Pin n, n=0-31 */
./arch/arm/src/lpc43xx/hardware/lpc43_gpio.h:#define GPIO_PIN(p) (1 << (p)) /* Bits 0-31: Read/write pin state */
./arch/arm/src/nrf52/nrf52_gpio.h:# define GPIO_PIN(n) ((n) << GPIO_PIN_SHIFT)
./arch/arm/src/nuc1xx/hardware/nuc_gpio.h:#define GPIO_PIN(n) (1 << (n)) /* Bit n: GPIOx Pin[n] pin value */
./arch/avr/src/at32uc3/at32uc3_gpio.h:#define GPIO_PIN(n) (1 << (n))
./include/nuttx/input/stmpe811.h:#define GPIO_PIN(n) (1 << (n))
This commit changes the name used by the STMPE811 driver to STMPE11_GPIO_PIN
2020-09-17 12:10:29 -07:00
Brennan Ashton
204e84f1ad
input: Add SPI mode for STMPE811 touch screen controller
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-17 08:34:41 -06:00
Masayuki Ishikawa
e53970583e
drivers: wireless: Apply NET_LL_IEEE80211 to gs2200m.c
...
Summary:
- This commit applies NET_LL_IEEE80211 to gs2200m.c
- Also selects DRIVERS_IEEE80211 in Kconfig
Impact:
- Affects use cases with gs2200m driver
Testing:
- Tested with spresense:wifi and spresense:wifi_smp
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-17 09:24:39 +02:00
Brennan Ashton
e2fd1fdd84
LED: Support for WS2812 led controller (aka Adafruit NeoPixel)
...
The WS2812 is very common in LED strips as it is an integrated
controller and LED. It is driven by a single data line, but
the timing requirements can be met by using most SPI controllers
and the use of DMA.
This driver has been validated on the nRF52 arch both with a
single LED and a strip of 144.
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-16 10:35:56 -07:00
Brennan Ashton
26395a6908
mmcsd: Allow setting ID mode frequency vi Kconfig
...
Signed-off-by: Brennan Ashton <bashton@brennanashton.com>
2020-09-16 03:13:43 -07:00
Xiang Xiao
77ae03788a
note: Rename note driver to noteram driver
...
to reflect this is just a normal note driver with ram buffer
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-15 14:55:22 +08:00
raiden00pl
493b0bf074
drivers/timers/pwm.c: add missing new lines to some debug messages
2020-09-13 10:57:11 -03:00
Xiang Xiao
0c3930ba11
sched: Rename note_add to sched_note_add
...
to better match other sched_note_* function
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-12 08:42:30 -07:00
Masayuki Ishikawa
58317b1430
drivers: wireless: Fix warnings in gs2200m.c
...
Summary:
- This commit fixes warnings when we remove noreturn from _assert()
Impact:
- Should have no impact
Testing:
- Tested with spresense:wifi
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-09-11 08:25:31 +02:00
David Sidrane
55b48b14eb
mmcsd_sdio: Arm the write complete detection
...
The Multiblock write path was missing the
the SDIO_WAITENABLE with SDIOWAIT_WRCOMPLETE.
This could be seen with debugging turned on as
mmcsd_eventwait: ERROR: Awakened with 10
mmcsd_transferready: ERROR: mmcsd_eventwait for transfer ready failed: -5
2020-09-10 14:55:41 +01:00
Xiang Xiao
952af92690
sched/note: Move the circle buffer code to driver
...
so the format code can be shared by different transport
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-07 11:54:10 +08:00
Xiang Xiao
f99719e260
Move note driver from drivers/syslog to drivers/note
...
it's better to put the note transport layer into a common folder
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-07 11:54:10 +08:00
Xiang Xiao
8e8f41faeb
drivers/timer: auto select the related option in Kconfig
...
to avoid the user make the wrong combination in defconfig
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-09-04 16:16:51 -03:00
Ouss4
c98ec2ad3e
drivers/sensors/mpu60x0.c: Correct comments.
2020-09-01 18:18:24 -03:00
Xiang Xiao
62a840f992
drivers/rwbuffer: Should call rwb_wrflush in rwb_uninitialize
...
to avoid lose the cached data in the write buffer
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-29 02:57:36 -07:00
Xiang Xiao
a86a3d4d02
drivers/rwbuffer: Remove the redundant check in rwb_initialize
...
the same check already done before
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
2020-08-29 02:57:36 -07:00
Xiang Xiao
73723dd31c
drivers/rwbuffer: Avoid ftl driver allocate the temporary erase buffer
...
If the buffer to be flushed isn't multipled by the erase size,
let's pad the buffer proactively to avoid the allocation in ftl.
Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
Change-Id: I6d7904aafab93a7886a594319d65826b81cd3cd1
3Change-Id: I88276149cc7826e7416929ca60b06314e96079a6
2020-08-29 02:57:36 -07:00
leomarradke
8a2c480a48
arch: samd5e5:
...
- Add MTD progmem support.
- NVM USER PAGE IOCTLs support.
boards: metro-m4 Add support for:
- SmartFS inicialization.
- AT24 EEPROM.
- GPIO dev support.
- BQ27426 gauge inicialization.
drives: power
- Add BQ27426 fuel gauge support.
Testing:
- Build check only.
Signed-off-by: Leomar Mateus Radke <leomar@falker.com.br>
2020-08-27 11:46:50 -03:00
Masayuki Ishikawa
07b4b219cd
drivers: wireless: Refactor gs2200m.c
...
Summary:
- Remove unnecessay code from gs2200m_irq()
- Fix irq control in case that work_available() returns false
Impact:
- All use cases with gs2200m driver
Testing:
- Tested with spresense:wifi
Signed-off-by: Masayuki Ishikawa <Masayuki.Ishikawa@jp.sony.com>
2020-08-25 11:49:21 +02:00