Commit Graph

480699 Commits

Author SHA1 Message Date
Luca Ellero d2c4040b72 staging: ced1401: rename KillIO1401()
rename camel case function KillIO1401() to ced_kill_io()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:13 -07:00
Luca Ellero 3d012b01a8 staging: ced1401: rename GetTransfer()
rename camel case function GetTransfer() to ced_get_transfer()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:13 -07:00
Luca Ellero b76530bba8 staging: ced1401: rename TestEvent()
rename camel case function TestEvent() to ced_test_event()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:13 -07:00
Luca Ellero 1971a00e5d staging: ced1401: rename WaitEvent()
rename camel case function WaitEvent() to ced_wait_event()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:13 -07:00
Luca Ellero 617bfec33c staging: ced1401: rename SetEvent()
rename camel case function SetEvent() to ced_set_event()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:13 -07:00
Luca Ellero 0f6f679a15 staging: ced1401: rename UnsetTransfer()
rename camel case function UnsetTransfer() to ced_unset_transfer()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:13 -07:00
Luca Ellero 991037533f staging: ced1401: rename SetTransfer()
rename camel case function SetTransfer() to ced_set_transfer()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero bb19c8c39c staging: ced1401: rename SetArea()
rename camel case function SetArea() to ced_set_area()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 119f4cf094 staging: ced1401: rename ClearArea()
rename camel case function ClearArea() to ced_clear_area()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 6e5155d0b8 staging: ced1401: rename GetOutBufSpace()
rename camel case function GetOutBufSpace() to ced_get_out_buf_space()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 5dc137dd09 staging: ced1401: rename LineCount()
rename camel case function LineCount() to ced_line_count()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 1de8f0a972 staging: ced1401: rename Stat1401()
rename camel case function Stat1401() to ced_stat_1401()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 395b78e0ba staging: ced1401: rename GetString()
rename camel case function GetString() to ced_get_string()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 0e218f1717 staging: ced1401: rename Reset1401()
rename camel case function Reset1401() to ced_reset()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 9629dbf142 staging: ced1401: rename QuickCheck()
rename camel case function QuickCheck() to ced_quick_check() and make it
static

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 93234ff46c staging: ced1401: make ced_is_1401() static
Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 6841e79ed6 staging: ced1401: rename Is1401()
rename camel case function Is1401() to ced_is_1401()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero fd813a798d staging: ced1401: rename InSelfTest()
rename camel case function InSelfTest() to ced_in_self_test()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero a5830de9bd staging: ced1401: rename ReadWrite_Cancel()
rename camel case function ReadWrite_Cancel() to ced_read_write_cancel()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:12 -07:00
Luca Ellero 46e6a290ed staging: ced1401: rename Get1401State()
rename camel case function Get1401State() to ced_get_state()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 1a0f2ccdeb staging: ced1401: rename SendChar()
rename camel case function SendChar() to ced_send_char()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 747ce5829e staging: ced1401: rename SendString()
rename camel case function SendString() to ced_send_string()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 8b35f36809 staging: ced1401: rename PutChars()
rename camel case function PutChars() to ced_put_chars()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 4fe4dff739 staging: ced1401: rename FlushInBuff()
rename camel case function FlushInBuff() to ced_flush_in_buff()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 59e58f59e8 staging: ced1401: rename FlushOutBuff()
rename camel case function FlushOutBuff() to ced_flush_out_buff()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 8fac82f036 staging: ced1401: rename Allowi()
rename camel case function Allowi() to ced_allowi()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 380dff8ce4 staging: ced1401: rename Handle1401Esc()
rename camel case function Handle1401Esc() to ced_handle_esc()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero c429117e94 staging: ced1401: rename ReadDMAInfo()
rename camel case function ReadDMAInfo() to ced_read_dma_info()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 2732a875ad staging: ced1401: rename ReadHuff()
rename camel case function ReadHuff() to ced_read_huff()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 026a821051 staging: ced1401: rename ReadWord()
rename camel case function ReadWord() to ced_read_word()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero fcc2171f24 staging: ced1401: rename ReadChar()
rename camel case function ReadChar() to ced_read_char()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 4ec00e760b staging: ced1401: rename ReadWriteMem()
rename camel case function ReadWriteMem() to ced_read_write_mem()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 77cac96466 staging: ced1401: rename StageChunk()
rename camel case function StageChunk() to ced_stage_chunk()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:11 -07:00
Luca Ellero 799a9158f4 staging: ced1401: rename CopyUserSpace()
rename camel case function CopyUserSpace() to ced_copy_user_space()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:10 -07:00
Luca Ellero 3c469dfdc2 staging: ced1401: rename SendChars()
rename camel case function SendChars() to ced_send_chars()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:10 -07:00
Luca Ellero 7c7aaa83b0 staging: ced1401: rename CanAcceptIoRequests()
rename camel case function CanAcceptIoRequests() to can_accept_io_requests()

Signed-off-by: Luca Ellero <luca.ellero@brickedbrain.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:58:10 -07:00
Fabian Frederick 352f145d8f staging: rtl8723au: Remove unnecessary null test before kfree
Fix checkpatch warning:
WARNING: kfree(NULL) is safe this check is probably not required

Cc: Larry Finger <Larry.Finger@lwfinger.net>
Cc: Jes Sorensen <Jes.Sorensen@redhat.com>
Cc: linux-wireless@vger.kernel.org
Signed-off-by: Fabian Frederick <fabf@skynet.be>
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:56:37 -07:00
Jes Sorensen 42f984eb6f staging: rtl8723au: Simplify _BlockWrite() based on saner rtl8723au_writeN()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:56:37 -07:00
Jes Sorensen 2786faa33b staging: rtl8723au: Sanitize USB read/write functions
The original Realtek provided functions suffered badly from clutter to
accommodate broken operating systems. Lets try this lean and clean
version instead.

v2: Do not use the stack for data passed to usb_control_msg(). This
    requires reintroducing the mutex used in the old function. In
    addition, get rid of the no longer used 'usb_vendor_req_buf'.
    Note that rtl8723au_writeN() remains unlocked, so it can be used
    for bulk block transfers without having to retake the mutex for
    every write().

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:55:59 -07:00
Jon Paul Maloy 29322d0db9 tipc: fix bug in multicast/broadcast message reassembly
Since commit 37e22164a8 ("tipc: rename and
move message reassembly function") reassembly of long broadcast messages
has been broken. This is because we test for a non-NULL return value
of the *buf parameter as criteria for succesful reassembly. However, this
parameter is left defined even after reception of the first fragment,
when reassebly is still incomplete. This leads to a kernel crash as soon
as a the first fragment of a long broadcast message is received.

We fix this with this commit, by implementing a stricter behavior of the
function and its return values.

This commit should be applied to both net and net-next.

Signed-off-by: Jon Maloy <jon.maloy@ericsson.com>
Acked-by: Ying Xue <ying.xue@windriver.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2014-07-08 15:55:09 -07:00
Matthias Brugger a97e8027b1 irqchip: gic: Add support for cortex a7 compatible string
Patch 0a68214b "ARM: DT: Add binding for GIC virtualization extentions (VGIC)" added
the "arm,cortex-a7-gic" compatible string, but the corresponding IRQCHIP_DECLARE
was never added to the gic driver.

To let real Cortex-A7 SoCs use it, add the necessary declaration to the device driver.

Signed-off-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lkml.kernel.org/r/1404388732-28890-1-git-send-email-matthias.bgg@gmail.com
Fixes: 0a68214b76 ("ARM: DT: Add binding for GIC virtualization extentions (VGIC)")
Cc: <stable@vger.kernel.org> # v3.5+
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
2014-07-08 22:54:18 +00:00
Jes Sorensen a4f3d3c776 staging: rtl8723au: Remove never set struct rtw_adapter->bNotifyChannelChange
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Jes Sorensen c3a3e22611 staging: rtl8723au: pwrctrl_priv->ps_flag is never set
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Jes Sorensen e976cf6f13 staging: rtl8723au: pnp_bstop_trx is never set
In addition remove unused pnp_current_pwr_state

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Jes Sorensen 46eff7392d staging: rtl8723au: Remove unused variables from struct pwrctrl_priv
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Jes Sorensen bf51ee79fd staging: rtl8723au: Remove unused pwrctrl_priv->brfoffbyhw
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Jes Sorensen 462eb49eae staging: rtl8723au: Fold power_saving_wk_hdl() into rtw_drvextra_cmd_hdl23a()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Jes Sorensen c742e339d5 staging: rtl8723au: Clean up rtw_pm_set_ips23a()
Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:51:37 -07:00
Greg Kroah-Hartman bdac8ca90e Merge tag 'iio-fixes-for-3.16c' of git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio into staging-linus
Jonathan writes:

Third round of iio fixes for the 3.16 cycle.

* Lots of hid sensors component drivers had a bug due to a local variable
  whose name suggested it was returned from the read_raw function not
  infact being returned (ret vs ret_type).  Fixed and unused ret removed.
* Block a possible race condition in tcs3472 by locking around some
  dependant i2c messages.
* Fix bug in the am335x driver fifo setup that occurs if the final
  channel enabled takes certain values.
2014-07-08 15:43:45 -07:00
Jerry Stralko 48d5bb4403 staging: android: logger: fixed checkpatch.pl warnings.
Signed-off-by: Jerry Stralko <gerb.stralko@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2014-07-08 15:42:19 -07:00