GitHub/LineageOS/G12/android_kernel_amlogic_linux-4.9.git
9 years agostaging: rtl8192e: Rename _rtl8192_sta_up
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:34 +0000 (10:13 +0200)]
staging: rtl8192e: Rename _rtl8192_sta_up

Use naming schema found in other rtlwifi devices.
Rename _rtl8192_sta_up to _rtl92e_sta_up.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_sta_down
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:33 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_sta_down

Use naming schema found in other rtlwifi devices.
Rename rtl8192_sta_down to _rtl92e_sta_down.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_set_chan
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:32 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_set_chan

Use naming schema found in other rtlwifi devices.
Rename rtl8192_set_chan to _rtl92e_set_chan.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_refresh_supportrate
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:31 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_refresh_supportrate

Use naming schema found in other rtlwifi devices.
Rename rtl8192_refresh_supportrate to _rtl92e_refresh_support_rate.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_qos_handle_probe_response
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:30 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_qos_handle_probe_response

Use naming schema found in other rtlwifi devices.
Rename rtl8192_qos_handle_probe_response to
_rtl92e_qos_handle_probe_response.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_qos_association_resp
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:29 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_qos_association_resp

Use naming schema found in other rtlwifi devices.
Rename rtl8192_qos_association_resp to _rtl92e_qos_assoc_resp.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_qos_activate
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:28 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_qos_activate

Use naming schema found in other rtlwifi devices.
Rename rtl8192_qos_activate to _rtl92e_qos_activate.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_prepare_beacon
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:27 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_prepare_beacon

Use naming schema found in other rtlwifi devices.
Rename rtl8192_prepare_beacon to _rtl92e_prepare_beacon.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_SwChnl_WorkItem
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:26 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_SwChnl_WorkItem

Use naming schema found in other rtlwifi devices.
Rename rtl8192_SwChnl_WorkItem to _rtl92e_phy_switch_channel_work_item.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_SwChnlStepByStep
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:25 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_SwChnlStepByStep

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SwChnlStepByStep to _rtl92e_phy_switch_channel_step.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_SetSwChnlCmdArray
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:24 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_SetSwChnlCmdArray

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_SetSwChnlCmdArray to _rtl92e_phy_set_sw_chnl_cmd_array.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_RFSerialWrite
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:23 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_RFSerialWrite

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFSerialWrite to _rtl92e_phy_rf_write.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_RFSerialRead
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:22 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_RFSerialRead

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_RFSerialRead to _rtl92e_phy_rf_read.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phy_FinishSwChnlNow
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:21 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phy_FinishSwChnlNow

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phy_FinishSwChnlNow to _rtl92e_phy_switch_channel.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_phyConfigBB
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:20 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_phyConfigBB

Use naming schema found in other rtlwifi devices.
Rename rtl8192_phyConfigBB to _rtl92e_phy_config_bb.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename phy_FwRFSerialWrite
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:19 +0000 (10:13 +0200)]
staging: rtl8192e: Rename phy_FwRFSerialWrite

Use naming schema found in other rtlwifi devices.
Rename phy_FwRFSerialWrite to _rtl92e_phy_rf_fw_write.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename phy_FwRFSerialRead
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:18 +0000 (10:13 +0200)]
staging: rtl8192e: Rename phy_FwRFSerialRead

Use naming schema found in other rtlwifi devices.
Rename phy_FwRFSerialRead to _rtl92e_phy_rf_fw_read.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename fw_download_code
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:17 +0000 (10:13 +0200)]
staging: rtl8192e: Rename fw_download_code

Use naming schema found in other rtlwifi devices.
Rename fw_download_code to _rtl92e_fw_download_code.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename CPUcheck_maincodeok_turnonCPU
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:16 +0000 (10:13 +0200)]
staging: rtl8192e: Rename CPUcheck_maincodeok_turnonCPU

Use naming schema found in other rtlwifi devices.
Rename CPUcheck_maincodeok_turnonCPU to _rtl92e_fw_boot_cpu.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename CPUcheck_firmware_ready
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:15 +0000 (10:13 +0200)]
staging: rtl8192e: Rename CPUcheck_firmware_ready

Use naming schema found in other rtlwifi devices.
Rename CPUcheck_firmware_ready to _rtl92e_is_fw_ready.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename MRateToHwRate8190Pci
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:14 +0000 (10:13 +0200)]
staging: rtl8192e: Rename MRateToHwRate8190Pci

Use naming schema found in other rtlwifi devices.
Rename MRateToHwRate8190Pci to _rtl92e_rate_mgn_to_hw.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename HwRateToMRate90
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:13 +0000 (10:13 +0200)]
staging: rtl8192e: Rename HwRateToMRate90

Use naming schema found in other rtlwifi devices.
Rename HwRateToMRate90 to _rtl92e_rate_hw_to_mgn.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_RxCheckStuck
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:12 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_RxCheckStuck

Use naming schema found in other rtlwifi devices.
Rename rtl819x_RxCheckStuck to _rtl92e_rx_check_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_rx_normal
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:11 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_rx_normal

Use naming schema found in other rtlwifi devices.
Rename rtl8192_rx_normal to _rtl92e_rx_normal.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl819x_TxCheckStuck
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:10 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl819x_TxCheckStuck

Use naming schema found in other rtlwifi devices.
Rename rtl819x_TxCheckStuck to _rtl92e_tx_check_stuck.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_is_tx_queue_empty
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:09 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_is_tx_queue_empty

Use naming schema found in other rtlwifi devices.
Rename rtl8192_is_tx_queue_empty to _rtl92e_is_tx_queue_empty.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_resume
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:08 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_resume

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_resume to _rtl92e_tx_resume.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_timeout
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:07 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_timeout

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_timeout to _rtl92e_tx_timeout.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_isr
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:06 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_isr

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_isr to _rtl92e_tx_isr.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx_cmd
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:05 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx_cmd

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx_cmd to _rtl92e_tx_cmd.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_tx
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:04 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_tx

Use naming schema found in other rtlwifi devices.
Rename rtl8192_tx to _rtl92e_tx.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_free_tx_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:03 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_free_tx_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_free_tx_ring to _rtl92e_free_tx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_free_rx_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:02 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_free_rx_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_free_rx_ring to _rtl92e_free_rx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_alloc_tx_desc_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:01 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_alloc_tx_desc_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_alloc_tx_desc_ring to _rtl92e_alloc_tx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_alloc_rx_desc_ring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:13:00 +0000 (10:13 +0200)]
staging: rtl8192e: Rename rtl8192_alloc_rx_desc_ring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_alloc_rx_desc_ring to _rtl92e_alloc_rx_ring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_probe
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:59 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_probe

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_probe to _rtl92e_pci_probe.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_module_init
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:58 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_module_init

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_module_init to _rtl92e_pci_module_init.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_module_exit
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:57 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_module_exit

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_module_exit to _rtl92e_pci_module_exit.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_initdescring
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:56 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_initdescring

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_initdescring to _rtl92e_pci_initdescring.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_pci_disconnect
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:55 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_pci_disconnect

Use naming schema found in other rtlwifi devices.
Rename rtl8192_pci_disconnect to _rtl92e_pci_disconnect.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename _rtl8192_up
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:54 +0000 (10:12 +0200)]
staging: rtl8192e: Rename _rtl8192_up

Use naming schema found in other rtlwifi devices.
Rename _rtl8192_up to _rtl92e_up.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_up
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:53 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_up

Use naming schema found in other rtlwifi devices.
Rename rtl8192_up to _rtl92e_try_up.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_restart
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:52 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_restart

Use naming schema found in other rtlwifi devices.
Rename rtl8192_restart to _rtl92e_restart.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_down
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:51 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_down

Use naming schema found in other rtlwifi devices.
Rename rtl8192_down to _rtl92e_down.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_close
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:50 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_close

Use naming schema found in other rtlwifi devices.
Rename rtl8192_close to _rtl92e_close.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_open
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:49 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_open

Use naming schema found in other rtlwifi devices.
Rename rtl8192_open to _rtl92e_open.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_ioctl
Mateusz Kulikowski [Sun, 20 Sep 2015 08:12:48 +0000 (10:12 +0200)]
staging: rtl8192e: Rename rtl8192_ioctl

Use naming schema found in other rtlwifi devices.
Rename rtl8192_ioctl to _rtl92e_ioctl.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_irq_tx_tasklet
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:30 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_irq_tx_tasklet

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_tx_tasklet to _rtl92e_irq_tx_tasklet.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_irq_rx_tasklet
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:29 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_irq_rx_tasklet

Use naming schema found in other rtlwifi devices.
Rename rtl8192_irq_rx_tasklet to _rtl92e_irq_rx_tasklet.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_interrupt
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:28 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_interrupt

Use naming schema found in other rtlwifi devices.
Rename rtl8192_interrupt to _rtl92e_irq.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_variable
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:27 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_variable

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_variable to _rtl92e_init_priv_variable.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_task
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:26 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_task

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_task to _rtl92e_init_priv_task.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_lock
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:25 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_lock

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_lock to _rtl92e_init_priv_lock.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_handler
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:24 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_handler

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_handler to _rtl92e_init_priv_handler.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init_priv_constant
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:23 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init_priv_constant

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init_priv_constant to _rtl92e_init_priv_constant.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: rtl8192e: Rename rtl8192_init
Mateusz Kulikowski [Sun, 20 Sep 2015 08:09:22 +0000 (10:09 +0200)]
staging: rtl8192e: Rename rtl8192_init

Use naming schema found in other rtlwifi devices.
Rename rtl8192_init to _rtl92e_init.

Signed-off-by: Mateusz Kulikowski <mateusz.kulikowski@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: hook up 8254 timer/counter subdevice
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:12 +0000 (17:52 -0700)]
staging: comedi: rtd520: hook up 8254 timer/counter subdevice

There is a standard 8254 Timer/Counter device on the board. Hook up
the subdevice for the user.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: use DIV_ROUND_CLOSEST and DIV_ROUND_UP macros
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:11 +0000 (17:52 -0700)]
staging: comedi: rtd520: use DIV_ROUND_CLOSEST and DIV_ROUND_UP macros

Use the macros to clarify the divisor calculations.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: tidy up block comments
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:10 +0000 (17:52 -0700)]
staging: comedi: rtd520: tidy up block comments

Use the preferred block command style.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: remove unnecessary function desc. block comments
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:09 +0000 (17:52 -0700)]
staging: comedi: rtd520: remove unnecessary function desc. block comments

These function description comments are cut-and-paste cruft from the
old skeleton driver. Remove them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: fix rtd_ao_winsn()
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:08 +0000 (17:52 -0700)]
staging: comedi: rtd520: fix rtd_ao_winsn()

The "comedi range and offset conversions" in this function is
incorrect. According to the hardware manual, the DAC registers
are defined as:

    | D15  | D14-D03     | D02 | | D01 | D00 |
    | Sign | 12-bit data | (see manual)      |

The extended 'Sign' bit is only used for bipolar ranges to indicate
negative 12-bit data values.

The current code actually flips the sign for all bipolar data
values instead of just munging the value to 2's complement and
extending the sign bit.

Fix the function to correctly munge the comedi offset binary
values into 2's complement and extended the sign when bipolar
ranges are specified.

For aesthetics, rename this function and tidy it up a bit.

Save the readback value after the conversion is complete.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: convert DAC register defines to macros
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:07 +0000 (17:52 -0700)]
staging: comedi: rtd520: convert DAC register defines to macros

For aesthetics, convert the defines for the various DAC registers into
macros that take the comedi channel and return the correct offset.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: remove unnecessary comments from rtd_ao_winsn()
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:06 +0000 (17:52 -0700)]
staging: comedi: rtd520: remove unnecessary comments from rtd_ao_winsn()

These comments are cut-and-paste from the old skeleton driver. Remove
them.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: move constants to right side of comparisons
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:05 +0000 (17:52 -0700)]
staging: comedi: rtd520: move constants to right side of comparisons

Fix the checkpatch.pl issues about:

WARNING: Comparisons should place the constant on the right side of the test

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: rename rtd520Boards
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:04 +0000 (17:52 -0700)]
staging: comedi: rtd520: rename rtd520Boards

For aesthetics, rename this CamelCase array.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd529: usleep_range is preferred over udelay
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:03 +0000 (17:52 -0700)]
staging: comedi: rtd529: usleep_range is preferred over udelay

Fix checkpatch issue: "CHECK: usleep_range is preferred over udelay; see
Documentation/timers/timers-howto.txt".  `udelay()` is only used in the
firmware upload process.  Replace them with `usleep_range()` with a
reasonable upper limit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: fix logical continuations
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:02 +0000 (17:52 -0700)]
staging: comedi: rtd520: fix logical continuations

Fix the checkpatch.pl issues about:

CHECK: Logical continuations should be on the previous line

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rtd520: prefer using the BIT macro
H Hartley Sweeten [Fri, 25 Sep 2015 00:52:01 +0000 (17:52 -0700)]
staging: comedi: rtd520: prefer using the BIT macro

Use the BIT macro to define the register bits.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_pci.c: improve function documentation
Ian Abbott [Wed, 23 Sep 2015 18:35:56 +0000 (19:35 +0100)]
staging: comedi: comedi_pci.c: improve function documentation

Expand the descriptions of the functions and document the return values.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rti800: use comedi_offset_munge()
H Hartley Sweeten [Wed, 23 Sep 2015 17:43:37 +0000 (10:43 -0700)]
staging: comedi: rti800: use comedi_offset_munge()

Use the comedi_offset_munge() helper to do the two's complement
to comedi offset binary and comedi offset binary to two's complement
conversions.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: rti800: prefer using the BIT macro
H Hartley Sweeten [Wed, 23 Sep 2015 17:43:36 +0000 (10:43 -0700)]
staging: comedi: rti800: prefer using the BIT macro

Use the BIT macro to define the register bits.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_fops.c: Tweak kernel-doc for consistency
Ian Abbott [Wed, 23 Sep 2015 15:33:27 +0000 (16:33 +0100)]
staging: comedi: comedi_fops.c: Tweak kernel-doc for consistency

Adjust the kernel-doc in this file for consistency of capitalization and
punctuation.  Make more use of the special kernel-doc markers for
parameter names, constant names, etc.  Use the correct kernel-doc tag
for the return values sections.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_buf.c: document remaining exported functions
Ian Abbott [Tue, 22 Sep 2015 17:02:39 +0000 (18:02 +0100)]
staging: comedi: comedi_buf.c: document remaining exported functions

Add kernel-doc headers to the remaining functions marked for export.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedi_buf.c: tweak existing kernel-doc
Ian Abbott [Tue, 22 Sep 2015 17:02:38 +0000 (18:02 +0100)]
staging: comedi: comedi_buf.c: tweak existing kernel-doc

Expand the kernel-doc descriptions of those exported functions that
already have kernel-doc comments.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document remaining inline functions
Ian Abbott [Mon, 21 Sep 2015 17:52:56 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document remaining inline functions

Add kernel-doc headers to the inline functions that do not have them
yet.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: tweak docs for inline functions
Ian Abbott [Mon, 21 Sep 2015 17:52:55 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: tweak docs for inline functions

Tweak the kernel-doc for already documented inline functions for
consistency, and document their return values.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: tweak struct comedi_async documentation
Ian Abbott [Mon, 21 Sep 2015 17:52:54 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: tweak struct comedi_async documentation

Make the kernel-doc layout for `struct comedi_async` more consistent
with the documentation for the other COMEDI data types.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_lrange
Ian Abbott [Mon, 21 Sep 2015 17:52:53 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_lrange

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_buf_map
Ian Abbott [Mon, 21 Sep 2015 17:52:52 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_buf_map

Add kernel-doc for `struct comedi_buf_map` and the associated `struct
comedi_buf_page`.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_subdevice
Ian Abbott [Mon, 21 Sep 2015 17:52:51 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_subdevice

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_device
Ian Abbott [Mon, 21 Sep 2015 17:52:50 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_device

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: document struct comedi_driver
Ian Abbott [Mon, 21 Sep 2015 17:52:49 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: document struct comedi_driver

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: tweak kernel-doc for struct comedi_async
Ian Abbott [Mon, 21 Sep 2015 17:52:48 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: tweak kernel-doc for struct comedi_async

Tweak the formatting of the kernel-doc formatted comment for `struct
comedi_async` in order to stop it generating bogus headings for text
before a colon.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: use enum for COMEDI_CB_... constants
Ian Abbott [Mon, 21 Sep 2015 17:52:47 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: use enum for COMEDI_CB_... constants

The existing constants `COMEDI_CB_EOS` etc. are in the form of macros
and have a bogus kernel-doc comment.  Change them to `enum` constants so
they can be documented properly with kernel-doc.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: comedidev.h: reformat copyright comment
Ian Abbott [Mon, 21 Sep 2015 17:52:46 +0000 (18:52 +0100)]
staging: comedi: comedidev.h: reformat copyright comment

Use the preferred block comment style.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: drivers.c: document exported functions
Ian Abbott [Thu, 17 Sep 2015 16:19:17 +0000 (17:19 +0100)]
staging: comedi: drivers.c: document exported functions

Add missing kernel-doc to the low-level COMEDI driver API functions
exported from "drivers.c" and tart up some of the existing kernel-doc
comments for consistency.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: drivers.c: replace #include <linux/dma-mapping.h>
Ian Abbott [Thu, 17 Sep 2015 16:19:16 +0000 (17:19 +0100)]
staging: comedi: drivers.c: replace #include <linux/dma-mapping.h>

Comedi's "drivers.c" doesn't use anything from `<linux/dma-mapping.h>`,
but it does use `DMA_NONE` from `<linux/dma-direction.h>`, so replace
the appropriate `#include` directive.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: comedi: drivers.c: remove irrelevant #includes
Ian Abbott [Thu, 17 Sep 2015 16:19:15 +0000 (17:19 +0100)]
staging: comedi: drivers.c: remove irrelevant #includes

Comedi's "drivers.c" doesn't use anything from these included headers,
so remove them.

Signed-off-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: fix pcm_write input/output error
Christian Gromm [Mon, 28 Sep 2015 15:18:58 +0000 (17:18 +0200)]
staging: most: fix pcm_write input/output error

This patch keeps the process from sleeping after the PCM middle layer has
stopped playback by calling the pcm trigger callback. The patch is needed
to prevent aplay from causing a pcm_write Input/Output error.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: add poll syscall to AIM cdev
Christian Gromm [Mon, 28 Sep 2015 15:18:57 +0000 (17:18 +0200)]
staging: most: add poll syscall to AIM cdev

This patch adds the implementation of the poll syscall to the AIM cdev.
To have the full functionality, a helper function is needed in the
core module to retrieve the instantaneous availability of tx buffers.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: remove audio resolution format check
Christian Gromm [Mon, 28 Sep 2015 15:18:56 +0000 (17:18 +0200)]
staging: most: remove audio resolution format check

This patch removes the audio format cross-check, because the definitions
are not compatible.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: fix style problems
Christian Gromm [Mon, 28 Sep 2015 15:18:55 +0000 (17:18 +0200)]
staging: most: fix style problems

This patch simply corrects style violations.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: move initialization code
Christian Gromm [Mon, 28 Sep 2015 15:18:54 +0000 (17:18 +0200)]
staging: most: move initialization code

This pathch moves the initialization of the PCM middle layer hardware
parameters to function audio_set_hw_params().

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: rename function
Christian Gromm [Mon, 28 Sep 2015 15:18:53 +0000 (17:18 +0200)]
staging: most: rename function

This patch renames the function audio_set_pcm_format(). Since the
function doesn't only set the PCM format anymore and to guard against
misunderstandings, its name needs to be changed.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: add missing channel initialization
Christian Gromm [Mon, 28 Sep 2015 15:18:52 +0000 (17:18 +0200)]
staging: most: add missing channel initialization

This patch adds missing initialization of channel count for 8-bit mono
audio resolution.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: purge unecessary variable
Christian Gromm [Mon, 28 Sep 2015 15:18:51 +0000 (17:18 +0200)]
staging: most: purge unecessary variable

This patch purges a temp. variable to store the functions return value.
Since the content is never being evaluated, it can safely be removed.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: squash AIM sound
Christian Gromm [Mon, 28 Sep 2015 15:18:50 +0000 (17:18 +0200)]
staging: most: squash AIM sound

This patch removes debug messages and prevents the sound AIM from being
noisy in kernel log.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: make hardware parameters channel exclusive
Christian Gromm [Mon, 28 Sep 2015 15:18:49 +0000 (17:18 +0200)]
staging: most: make hardware parameters channel exclusive

Since the PCM interface's hardware parameters are channel/substream
exclusive, the struct snd_pcm_hardware needs to be embedded in the
channel structure.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: include vendor in audio card's shortname
Christian Gromm [Mon, 28 Sep 2015 15:18:48 +0000 (17:18 +0200)]
staging: most: include vendor in audio card's shortname

This patch adds Microchip as vendor to the audio card's shortname to
be displayed, when playback and capture devices are queried.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
9 years agostaging: most: add multi channel support to sound AIM
Christian Gromm [Mon, 28 Sep 2015 15:18:47 +0000 (17:18 +0200)]
staging: most: add multi channel support to sound AIM

This patch adds 5.1 surround configuration with subbuffer cross-check,
when establishing a link to the core. For the sake of simplicity, only
one specific channel configuration is allowed.

Signed-off-by: Christian Gromm <christian.gromm@microchip.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>