Aaro Koskinen
cc1e2398f7
staging: xgifb: vb_setmode: move functions to avoid forward declarations
...
Move functions to avoid forward declarations.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:52:24 -07:00
Aaro Koskinen
b9ebf5e591
staging: xgifb: vb_init: move functions to avoid forward declarations
...
Move functions to avoid forward declarations.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:52:24 -07:00
Aaro Koskinen
3f8214c33f
staging: xgifb: vb_ext: move functions to avoid forward declarations
...
Move functions to avoid forward declarations.
Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:52:23 -07:00
Marek Belisko
6d2b672195
staging: ft1000: Fix coding style in ft1000_proc_drvmsg function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:21 -07:00
Marek Belisko
fc796a6502
staging: ft1000: Fix coding style in ft1000_dsp_prov function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:21 -07:00
Marek Belisko
8b2dab1cf8
staging: ft1000: Fix coding style in ft1000_receive_cmd function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:21 -07:00
Marek Belisko
53cd3aa619
staging: ft1000: Fix coding style in ft1000_chkcard function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:20 -07:00
Marek Belisko
a007e842af
staging: ft1000: Fix coding style in ft1000_close function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:20 -07:00
Marek Belisko
a01ffcd69f
staging: ft1000: Fix coding style in ft1000_open function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:20 -07:00
Marek Belisko
bee1b21cfa
staging: ft1000: Fix coding style in ft1000_copy_up_pkt function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:19 -07:00
Marek Belisko
6b2a66f250
staging: ft1000: Fix coding style in ft1000_submit_rx_urb function.
...
Fix coding style and also replace printk with proper pr_err
function.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:19 -07:00
Marek Belisko
e31e33855a
staging: ft1000: Fix coding style in ft1000_start_xmit function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:19 -07:00
Marek Belisko
d8dfaf4c94
staging: ft1000: Fix coding style in ft1000_copy_down_pkt function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:18 -07:00
Marek Belisko
251c72f84a
staging: ft1000: Fix coding style in ft1000_usb_transmit_complete function.
...
Fix coding style and also replace printk with proper pr_err
function.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:18 -07:00
Marek Belisko
2dd9017b47
staging: ft1000: Fix coding style in ft1000_reset function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:17 -07:00
Marek Belisko
05a7c39c36
staging: ft1000: Fix coding style in reg_ft1000_netdev function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:17 -07:00
Marek Belisko
f135da0359
staging: ft1000: Change return value for init_ft1000_netdev function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:17 -07:00
Marek Belisko
6c284c7b06
staging: ft1000: Fix coding style in init_ft1000_netdev function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:16 -07:00
Marek Belisko
cb3aa5d5b5
staging: ft1000: Fix identation in ftnet_ops struct.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:16 -07:00
Marek Belisko
3071c12ea7
staging: ft1000: Fix coding style in ft1000_reset_card function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:16 -07:00
Marek Belisko
84a60963e2
staging: ft1000: Fix coding style in ft1000_reset_asic function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:15 -07:00
Marek Belisko
3529bd4164
staging: ft1000: Fix coding style in dsp_reload function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:15 -07:00
Marek Belisko
68e79bccce
staging: ft1000: Fix coding style in card_send_command function.
...
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:14 -07:00
Marek Belisko
a209efadf0
staging: ft1000: Replace camelcase CardSendCommand function name.
...
Replace CardSendCommand by card_send_command.
Signed-off-by: Marek Belisko <marek.belisko@open-nandra.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:51:14 -07:00
Michael Hennerich
2b61535a6e
staging: IIO: DAC: AD5446: Add support for AD5601/AD5611/AD5621
...
This patch adds support for the AD5601/AD5611/AD5621 single channel,
8-/10-/12-bit, buffered voltage output DACs.
Changes since v1:
Sort Kconfig description my number
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:50:28 -07:00
Michael Hennerich
bbed4dc791
staging: IIO: DAC: AD5446: Add power down support
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:50:28 -07:00
Michael Hennerich
bd51c0b078
staging: IIO: DAC: AD5446: Add missing ID table entries
...
Signed-off-by: Michael Hennerich <michael.hennerich@analog.com>
Acked-by: Jonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:50:27 -07:00
Dan Carpenter
e278913c3c
Staging: crystalhd: don't waste the last char of buffer
...
pinfo->name is a 32 char buffer. In the original code, the last char
wasn't fully utilized.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:47:59 -07:00
Dan Carpenter
a3b6ff0352
Staging: crystalhd: change GFP_ATOMIC to GFP_KERNEL
...
These two allocations are only called from the probe() path and there
aren't any locks held for probe().
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:47:08 -07:00
Roland Vossen
89a4d0cbde
staging: brcm80211: lower number of wlc_bsscfg.h includes
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:45:16 -07:00
Roland Vossen
b156294626
staging: brcm80211: replaced wlc_bsscfg_t by struct wlc_bsscfg
...
Code cleanup.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:45:16 -07:00
Roland Vossen
d4b977bd48
staging: brcm80211: removed comment in rx status processing
...
Code cleanup. The comment is hinting that we should sanity check the
header to verify that if it claims its from a 5Ghz channel, that the
chip actually supports 5 Ghz. This is redundant (2.4G only chips do
not report 5G channels) and thus the comment was removed.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:45:13 -07:00
Roland Vossen
9ee63c6a9f
staging: brcm80211: invalidate all AMPDU packets on IEEE80211_AMPDU_TX_STOP
...
The previous patch flushed the AMPDU packets associated to a certain STA/AP
in the driver queues, but left the AMPDU packets in the DMA queue untouched.
This patch invalidates AMPDU packets in the DMA queue, so they can be
processed accordingly when hardware releases the packets to the driver.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:44:03 -07:00
Roland Vossen
61f4420597
staging: brcm80211: added IEEE80211_AMPDU_TX_STOP handling
...
Driver now flushes AMPDU packets for a specified station on Mac80211 calling
wl_ops_ampdu_action(IEEE80211_AMPDU_TX_STOP). Not all AMPDU packets are flushed
yet: there can still be AMPDU packets pending in hardware (DMA). That is the
subject of the next patch in this series.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:44:03 -07:00
Roland Vossen
8ada0be340
staging: brcm80211: bugfix for control.sta NULL ptr dereference
...
Mac80211 can transmit packets where the control.sta field is NULL.
The driver dereferenced this. Bugfix was to only dereference a non NULL
ieee80211_sta pointer.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:44:02 -07:00
Roland Vossen
0bf97bb1cf
staging: brcm80211: bugfix for NULL scb ptr dereference
...
The driver uses a struct called 'scb', this struct is primarily used for AMPDU
functionality and is embedded in struct ieee80211_sta. To increase driver
robustness, the case in which this scb pointer is NULL is now handled graceful.
This paves the way for the next patch in this series.
Signed-off-by: Roland Vossen <rvossen@broadcom.com>
Reviewed-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-14 11:44:02 -07:00
Greg Kroah-Hartman
0789b00331
Staging: samsung-laptop: add support for N230 model
...
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:32:01 -08:00
Luis R. Rodriguez
9107a26ebc
staging: ath6kl: remove-typedef DEV_SCATTER_DMA_VIRTUAL_INFO
...
remove-typedef -s DEV_SCATTER_DMA_VIRTUAL_INFO \
"struct dev_scatter_dma_virtual_info" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:53 -08:00
Luis R. Rodriguez
84fd335f2d
staging: ath6kl: remove-typedef COMMON_CREDIT_STATE_INFO
...
remove-typedef -s COMMON_CREDIT_STATE_INFO \
"struct common_credit_state_info" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:53 -08:00
Luis R. Rodriguez
d184f4a052
staging: ath6kl: remove-typedef BUFFER_PROC_LIST
...
remove-typedef -s BUFFER_PROC_LIST \
"struct buffer_proc_list" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:52 -08:00
Luis R. Rodriguez
090f807a0d
staging: ath6kl: remove-typedef ATH_DEBUG_MASK_DESCRIPTION
...
remove-typedef -s ATH_DEBUG_MASK_DESCRIPTION \
"struct ath_debug_mask_description" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:52 -08:00
Luis R. Rodriguez
42837dc9cb
staging: ath6kl: remove-typedef ATHBT_FILTER_INSTANCE
...
We mark this as unused as well, given that I find no users,
at a later time we can determine to nuke this or not...
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:52 -08:00
Luis R. Rodriguez
cbe7075102
staging: ath6kl: remove-typedef AR_VIRTUAL_INTERFACE_T
...
remove-typedef -s AR_VIRTUAL_INTERFACE_T \
"struct ar_virtual_interface" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:51 -08:00
Luis R. Rodriguez
e6998a556b
staging: ath6kl: remove-typedef AR6K_IRQ_PROC_REGISTERS
...
remove-typedef -s AR6K_IRQ_PROC_REGISTERS \
"struct ar6k_irq_proc_registers" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:51 -08:00
Luis R. Rodriguez
dfaa26b47a
staging: ath6kl: remove-typedef AR6K_IRQ_ENABLE_REGISTERS
...
remove-typedef -s AR6K_IRQ_ENABLE_REGISTERS \
"struct ar6k_irq_enable_registers" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:50 -08:00
Luis R. Rodriguez
03e41d5539
staging: ath6kl: remove-typedef AR6K_HCI_BRIDGE_INFO
...
remove-typedef -s AR6K_HCI_BRIDGE_INFO \
"struct ar6k_hci_bridge_info" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:50 -08:00
Luis R. Rodriguez
69c44f42f6
staging: ath6kl: remove-typedef AR6K_GMBOX_INFO
...
remove-typedef -s AR6K_GMBOX_INFO \
"struct ar6k_gmbox_info" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:50 -08:00
Luis R. Rodriguez
89c625bef6
staging: ath6kl: remove-typedef AR6K_GMBOX_CTRL_REGISTERS
...
remove-typedef -s AR6K_GMBOX_CTRL_REGISTERS \
"struct ar6k_gmbox_ctrl_registers" drivers/staging/ath6k
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:49 -08:00
Luis R. Rodriguez
495abc7995
staging: ath6kl: remove-typedef AR6K_DEVICE
...
remove-typedef -s AR6K_DEVICE \
"struct ar6k_device" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:49 -08:00
Luis R. Rodriguez
26da4b510d
staging: ath6kl: remove-typedef AR6K_ASYNC_REG_IO_BUFFER
...
remove-typedef -s AR6K_ASYNC_REG_IO_BUFFER \
"struct ar6k_async_reg_io_buffer" drivers/staging/ath6kl/
Cc: Naveen Singh <naveen.singh@atheros.com>
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2011-03-11 14:31:49 -08:00