[PATCH 0/6] toshiba_bluetooth: Add rfkill code to driver

2015-04-27 Thread Azael Avalos
These patches add support to use the rfkill core functionality to the Toshiba bluetooth driver and adapting the existing code to it. Azael Avalos (6): toshiba_bluetooth: Add a container struct named toshiba_bluetooth_dev toshiba_bluetooth: Add RFKill handler functions toshiba_bluetooth

[PATCH 1/2] toshiba_acpi: Remove bluetooth rfkill code

2015-04-27 Thread Azael Avalos
This patch removes all bluetooth rfkill related code residing in the toshiba_acpi driver. Separate patches will add (and adapt) the code to toshiba_bluetooth (where it belongs). Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 123 1

[PATCH 0/2] toshiba_acpi: Purge driver from bluetooth RFKill code

2015-04-27 Thread Azael Avalos
These two patches remove all bluetooth rfkill code from toshiba_acpi and its build dependencies, as another series of patches will re-add the rfkill code to toshiba_bluetooth instead. Azael Avalos (2): toshiba_acpi: Remove bluetooth rfkill code platform/x86: Remove RFKILL dependency from

[PATCH 2/2] platform/x86: Remove RFKILL dependency from toshiba_acpi

2015-04-27 Thread Azael Avalos
This patch removes the dependency on rfkill for toshiba_acpi from KConfig, as a previous patch removed all the code related to it. Signed-off-by: Azael Avalos --- drivers/platform/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86

[PATCH 5/6] toshiba_bluetooth: Change BT status message to debug

2015-04-27 Thread Azael Avalos
adds a few more debug messages printing the killswitch, plug and power status of the device as well. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86

[PATCH 3/6] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-04-27 Thread Azael Avalos
This patch removes unneeded code from the toshiba_bluetooth_enable function as propper rfkill code as been added now. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 27 --- 1 file changed, 27 deletions(-) diff --git

[PATCH 6/6] platform/x86: Add RFKILL dependency to toshiba_bluetooth driver

2015-04-27 Thread Azael Avalos
This patch simply adds the RFKILL dependency to Kconfig, as we are now using rfkill code on the driver. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/Kconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/drivers/platform/x86/Kconfig b/drivers/platform/x86

[PATCH 4/6] toshiba_bluetooth: Adapt *_notify and *_resume functions to rfkill

2015-04-27 Thread Azael Avalos
This patch adapts toshiba_bt_rfkill_notify and toshiba_bt_resume functions to update the rfkill status, as they were only calling toshiba_bluetooth_enable. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 20 ++-- 1 file changed

[PATCH 2/2] platform/x86: Remove RFKILL dependency from toshiba_acpi

2015-04-27 Thread Azael Avalos
This patch removes the dependency on rfkill for toshiba_acpi from KConfig, as a previous patch removed all the code related to it. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/Kconfig | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/platform/x86/Kconfig b

[PATCH 0/2] toshiba_acpi: Purge driver from bluetooth RFKill code

2015-04-27 Thread Azael Avalos
These two patches remove all bluetooth rfkill code from toshiba_acpi and its build dependencies, as another series of patches will re-add the rfkill code to toshiba_bluetooth instead. Azael Avalos (2): toshiba_acpi: Remove bluetooth rfkill code platform/x86: Remove RFKILL dependency from

[PATCH 0/6] toshiba_bluetooth: Add rfkill code to driver

2015-04-27 Thread Azael Avalos
These patches add support to use the rfkill core functionality to the Toshiba bluetooth driver and adapting the existing code to it. Azael Avalos (6): toshiba_bluetooth: Add a container struct named toshiba_bluetooth_dev toshiba_bluetooth: Add RFKill handler functions toshiba_bluetooth

[PATCH 1/6] toshiba_bluetooth: Add a container struct named toshiba_bluetooth_dev

2015-04-27 Thread Azael Avalos
to be also used by upcomming patches. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 47 +++- 1 file changed, 46 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86

[PATCH 2/6] toshiba_bluetooth: Add RFKill handler functions

2015-04-27 Thread Azael Avalos
This patch adds RFKill handler functions to the driver, allowing it to register and update the rfkill switch. Also, a comment block was moved from the header to the poll function, as it explains why we need to poll the killswitch on older devices. Signed-off-by: Azael Avalos coproscef

[PATCH 1/2] toshiba_acpi: Remove bluetooth rfkill code

2015-04-27 Thread Azael Avalos
This patch removes all bluetooth rfkill related code residing in the toshiba_acpi driver. Separate patches will add (and adapt) the code to toshiba_bluetooth (where it belongs). Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 123

[PATCH v3 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-04-02 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos --- .../ABI/testing/sysfs-driver-toshiba_acpi

[PATCH v3 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-04-02 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[PATCH v3 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-04-02 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the "Typical" charging mode was added as a supported mode. Signed-off-by: Azael Avalos --- drivers/pl

[PATCH v3 0/3] toshiba_acpi: Fix USB Sleep & Charge mode and documentation updates

2015-04-02 Thread Azael Avalos
rted value of sleep and charge to zero in case of an error and added comments. - Updated the title and commit message of second patch to better reflect what the patch is doing. Azael Avalos (3): toshiba_acpi: Update and fix USB Sleep and Charge modes toshiba_acpi: Fix pr_* messages from USB S

[PATCH v3 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-04-02 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

Re: [PATCH v2 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-04-02 Thread Azael Avalos
Hi Darren, 2015-04-01 23:21 GMT-06:00 Darren Hart : > On Sun, Mar 29, 2015 at 07:25:39PM -0600, Azael Avalos wrote: >> This patch fixes the USB Sleep and Charge mode on certain models >> where the value returned by the BIOS is different, and thus, making >> this feature

[PATCH v3 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-04-02 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the Typical charging mode was added as a supported mode. Signed-off-by: Azael Avalos coproscef...@gmail.com

[PATCH v3 0/3] toshiba_acpi: Fix USB Sleep Charge mode and documentation updates

2015-04-02 Thread Azael Avalos
value of sleep and charge to zero in case of an error and added comments. - Updated the title and commit message of second patch to better reflect what the patch is doing. Azael Avalos (3): toshiba_acpi: Update and fix USB Sleep and Charge modes toshiba_acpi: Fix pr_* messages from USB Sleep

[PATCH v3 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-04-02 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions

[PATCH v3 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-04-02 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos coproscef...@gmail.com --- .../ABI/testing/sysfs-driver

[PATCH v3 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-04-02 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions

Re: [PATCH v2 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-04-02 Thread Azael Avalos
Hi Darren, 2015-04-01 23:21 GMT-06:00 Darren Hart dvh...@infradead.org: On Sun, Mar 29, 2015 at 07:25:39PM -0600, Azael Avalos wrote: This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work

[PATCH v2 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-03-29 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos --- .../ABI/testing/sysfs-driver-toshiba_acpi

[PATCH v2 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-29 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the "Typical" charging mode was added as a supported mode. Signed-off-by: Azael Avalos --- drivers/pl

[PATCH v2 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-03-29 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff

[PATCH v2 0/3] toshiba_acpi: Fix USB Sleep & Charge mode and documentation updates

2015-03-29 Thread Azael Avalos
itle and commit message of second patch to better reflect what the patch is doing. Azael Avalos (3): toshiba_acpi: Update and fix USB Sleep and Charge modes toshiba_acpi: Fix pr_* messages from USB Sleep Functions Documentation/ABI: Update sysfs-driver-toshiba_acpi entry .../ABI/testing/s

Re: [PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions

2015-03-29 Thread Azael Avalos
Hi Darren, 2015-03-27 20:58 GMT-06:00 Darren Hart : > On Fri, Mar 27, 2015 at 03:09:25PM -0600, Azael Avalos wrote: >> This patch fixes typos in the pr_* messages from the USB Sleep >> Functions. >> >> Signed-off-by: Azael Avalos >> --- >> d

Re: [PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-29 Thread Azael Avalos
Hi Darren, 2015-03-27 20:53 GMT-06:00 Darren Hart : > On Fri, Mar 27, 2015 at 03:09:24PM -0600, Azael Avalos wrote: >> This patch fixes the USB Sleep and Charge mode on certain models >> where the value returned by the BIOS is different, and thus, making >> this feature

Re: [PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-29 Thread Azael Avalos
Hi Darren, 2015-03-27 20:53 GMT-06:00 Darren Hart dvh...@infradead.org: On Fri, Mar 27, 2015 at 03:09:24PM -0600, Azael Avalos wrote: This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work

[PATCH v2 0/3] toshiba_acpi: Fix USB Sleep Charge mode and documentation updates

2015-03-29 Thread Azael Avalos
and commit message of second patch to better reflect what the patch is doing. Azael Avalos (3): toshiba_acpi: Update and fix USB Sleep and Charge modes toshiba_acpi: Fix pr_* messages from USB Sleep Functions Documentation/ABI: Update sysfs-driver-toshiba_acpi entry .../ABI/testing/sysfs

[PATCH v2 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-03-29 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos coproscef...@gmail.com --- .../ABI/testing/sysfs-driver

Re: [PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions

2015-03-29 Thread Azael Avalos
Hi Darren, 2015-03-27 20:58 GMT-06:00 Darren Hart dvh...@infradead.org: On Fri, Mar 27, 2015 at 03:09:25PM -0600, Azael Avalos wrote: This patch fixes typos in the pr_* messages from the USB Sleep Functions. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86

[PATCH v2 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-29 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the Typical charging mode was added as a supported mode. Signed-off-by: Azael Avalos coproscef...@gmail.com

[PATCH v2 2/3] toshiba_acpi: Fix pr_* messages from USB Sleep Functions

2015-03-29 Thread Azael Avalos
This patch fixes the messages displayed by the USB Sleep Functions, they were printing wrong messages not associated to the feature currently queried. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions

[PATCH 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-03-27 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos --- .../ABI/testing/sysfs-driver-toshiba_acpi

[PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions

2015-03-27 Thread Azael Avalos
This patch fixes typos in the pr_* messages from the USB Sleep Functions. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86

[PATCH 0/3] toshiba_acpi: Fix USB Sleep & Charge mode and documentation updates

2015-03-27 Thread Azael Avalos
This patch fixes the USB Sleep & Charge charging mode on certain models, fixes some typos in pr_* messages and also adds the missing entries in the documentation file. Azael Avalos (3): toshiba_acpi: Update and fix USB Sleep and Charge modes toshiba_acpi: Fix typos in pr_* messages from

[PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-27 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the "Typical" charging mode was added as a supported mode. Signed-off-by: Azael Avalos --- drivers/pl

[PATCH 3/3] Documentation/ABI: Update sysfs-driver-toshiba_acpi entry

2015-03-27 Thread Azael Avalos
This patch updates the sysfs-driver-toshiba_acpi entry, adding the missing entries for USB Sleep functions. And also, while at the neighborhood, fix some typos and add a note that some features require a reboot. Signed-off-by: Azael Avalos coproscef...@gmail.com --- .../ABI/testing/sysfs-driver

[PATCH 0/3] toshiba_acpi: Fix USB Sleep Charge mode and documentation updates

2015-03-27 Thread Azael Avalos
This patch fixes the USB Sleep Charge charging mode on certain models, fixes some typos in pr_* messages and also adds the missing entries in the documentation file. Azael Avalos (3): toshiba_acpi: Update and fix USB Sleep and Charge modes toshiba_acpi: Fix typos in pr_* messages from USB

[PATCH 2/3] toshiba_acpi: Fix typos in pr_* messages from USB Fleep Functions

2015-03-27 Thread Azael Avalos
This patch fixes typos in the pr_* messages from the USB Sleep Functions. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 16 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers

[PATCH 1/3] toshiba_acpi: Update and fix USB Sleep and Charge modes

2015-03-27 Thread Azael Avalos
This patch fixes the USB Sleep and Charge mode on certain models where the value returned by the BIOS is different, and thus, making this feature not to work for those models. Also, the Typical charging mode was added as a supported mode. Signed-off-by: Azael Avalos coproscef...@gmail.com

[PATCH v3 3/3] toshiba_bluetooth: Fix enabling/disabling loop on recent devices

2015-03-26 Thread Azael Avalos
check to verify the status of the BT device, returning silently if it is already activated. Also, checks and returns appropriate error values while evaluating the AUSB and BTPO methods. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 50 +++- 1

[PATCH v3 2/3] toshiba_bluetooth: Clean up *_add function and disable BT device at removal

2015-03-26 Thread Azael Avalos
. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index b479a70..b8404c7 100644

[PATCH v3 1/3] toshiba_bluetooth: Add three new functions to the driver

2015-03-26 Thread Azael Avalos
respectively. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 2cb1ea6..b479a70 100644 --- a/drivers

[PATCH v3 0/3] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-26 Thread Azael Avalos
Changes since v1: - Removed pr_info calls from *_notify function - Added checks to the status of the BT device removing the TODO comment and retaining the previous functionality of the driver Azael Avalos (3): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up

[PATCH v3 0/3] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-26 Thread Azael Avalos
Changes since v1: - Removed pr_info calls from *_notify function - Added checks to the status of the BT device removing the TODO comment and retaining the previous functionality of the driver Azael Avalos (3): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up

[PATCH v3 1/3] toshiba_bluetooth: Add three new functions to the driver

2015-03-26 Thread Azael Avalos
respectively. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 2cb1ea6..b479a70

[PATCH v3 3/3] toshiba_bluetooth: Fix enabling/disabling loop on recent devices

2015-03-26 Thread Azael Avalos
check to verify the status of the BT device, returning silently if it is already activated. Also, checks and returns appropriate error values while evaluating the AUSB and BTPO methods. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 50

[PATCH v3 2/3] toshiba_bluetooth: Clean up *_add function and disable BT device at removal

2015-03-26 Thread Azael Avalos
. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index b479a70

Re: [PATCH v2 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Azael Avalos
Hi Darren, 2015-03-25 15:24 GMT-06:00 Darren Hart : > On Wed, Mar 25, 2015 at 02:19:17PM -0600, Azael Avalos wrote: >> Bug 93911 reported a broken handling of the BT device, causing the >> driver to get stuck in a loop enabling/disabling the device whenever >> the

[PATCH v2 2/4] toshiba_bluetooth: Clean up *_add function and disable BT device at removal

2015-03-25 Thread Azael Avalos
. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index b479a70..b8404c7 100644

[PATCH v2 1/4] toshiba_bluetooth: Add three new functions to the driver

2015-03-25 Thread Azael Avalos
respectively. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 2cb1ea6..b479a70 100644 --- a/drivers

[PATCH v2 3/4] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-03-25 Thread Azael Avalos
This patch cleans the toshiba_bluetooth_enable function, removing some unneeded code and returning appropriate error values. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 12 insertions(+), 20 deletions(-) diff

[PATCH v2 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Azael Avalos
to the BT device status, activating the device only when it is disabled and returning silently if the KS is activated, this way we retain the previous functionality but without affecting the newer devices that trigger the enable/disable loop. Signed-off-by: Azael Avalos --- drivers/platform/x86

[PATCH v2 0/4] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-25 Thread Azael Avalos
and retaining the previous functionality of the driver Azael Avalos (4): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up *_add function and disable BT device at removal toshiba_bluetooth: Clean toshiba_bluetooth_enable function toshiba_bluetooth: Remove BT

Re: [PATCH 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Azael Avalos
Hi Darren, 2015-03-25 11:50 GMT-06:00 Darren Hart : > On Wed, Mar 18, 2015 at 01:12:59PM -0600, Azael Avalos wrote: >> Bug 93911 reported a broken handling of the BT device, causing the >> driver to get stuck in a loop enabling/disabling the device whenever >> the

Re: [PATCH 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Azael Avalos
Hi Darren, 2015-03-25 11:50 GMT-06:00 Darren Hart dvh...@infradead.org: On Wed, Mar 18, 2015 at 01:12:59PM -0600, Azael Avalos wrote: Bug 93911 reported a broken handling of the BT device, causing the driver to get stuck in a loop enabling/disabling the device whenever the device

[PATCH v2 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Azael Avalos
to the BT device status, activating the device only when it is disabled and returning silently if the KS is activated, this way we retain the previous functionality but without affecting the newer devices that trigger the enable/disable loop. Signed-off-by: Azael Avalos coproscef...@gmail.com

[PATCH v2 0/4] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-25 Thread Azael Avalos
and retaining the previous functionality of the driver Azael Avalos (4): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up *_add function and disable BT device at removal toshiba_bluetooth: Clean toshiba_bluetooth_enable function toshiba_bluetooth: Remove BT

[PATCH v2 2/4] toshiba_bluetooth: Clean up *_add function and disable BT device at removal

2015-03-25 Thread Azael Avalos
. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index b479a70

[PATCH v2 1/4] toshiba_bluetooth: Add three new functions to the driver

2015-03-25 Thread Azael Avalos
respectively. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 2cb1ea6..b479a70

[PATCH v2 3/4] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-03-25 Thread Azael Avalos
This patch cleans the toshiba_bluetooth_enable function, removing some unneeded code and returning appropriate error values. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 12 insertions(+), 20

Re: [PATCH v2 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-25 Thread Azael Avalos
Hi Darren, 2015-03-25 15:24 GMT-06:00 Darren Hart dvh...@infradead.org: On Wed, Mar 25, 2015 at 02:19:17PM -0600, Azael Avalos wrote: Bug 93911 reported a broken handling of the BT device, causing the driver to get stuck in a loop enabling/disabling the device whenever the device

[PATCH v2 3/3] toshiba_acpi: Fix the enabling of the Special Functions

2015-03-20 Thread Azael Avalos
CI_HOTKEY_EVENT call, but this time we are using a different parameter to make the "Special Functions" mode work as expected. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers/

[PATCH v2 2/3] toshiba_acpi: Use the Hotkey Event Type function for keymap choosing

2015-03-20 Thread Azael Avalos
ching list. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 70 + 1 file changed, 32 insertions(+), 38 deletions(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index c4edae3..d7dac48 100644 ---

[PATCH v2 0/3] toshiba_acpi: Hotkey handling and keymap updates

2015-03-20 Thread Azael Avalos
er reflect what the call does, and also the HCI_HOTKEY_EVENT_* types - Fixed a typo in the error description - Added a comment block explaining a bit why we also use the "Special Functions" as a check for keymap selection Azael Avalos (3): toshiba_acpi: Add Hotkey Event Type func

[PATCH v2 1/3] toshiba_acpi: Add Hotkey Event Type function and definitions

2015-03-20 Thread Azael Avalos
This patch adds support to query the "Hotkey Event Type" the system supports. There are two main event types (so far), 0x10 and 0x11, with the first being all those laptops that have the old keyboard layout, and the latter all those new laptops with the new keyboard layout. Signed-off

[PATCH v2 1/3] toshiba_acpi: Add Hotkey Event Type function and definitions

2015-03-20 Thread Azael Avalos
This patch adds support to query the Hotkey Event Type the system supports. There are two main event types (so far), 0x10 and 0x11, with the first being all those laptops that have the old keyboard layout, and the latter all those new laptops with the new keyboard layout. Signed-off-by: Azael

[PATCH v2 3/3] toshiba_acpi: Fix the enabling of the Special Functions

2015-03-20 Thread Azael Avalos
we are using a different parameter to make the Special Functions mode work as expected. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86

[PATCH v2 0/3] toshiba_acpi: Hotkey handling and keymap updates

2015-03-20 Thread Azael Avalos
what the call does, and also the HCI_HOTKEY_EVENT_* types - Fixed a typo in the error description - Added a comment block explaining a bit why we also use the Special Functions as a check for keymap selection Azael Avalos (3): toshiba_acpi: Add Hotkey Event Type function and definitions

[PATCH v2 2/3] toshiba_acpi: Use the Hotkey Event Type function for keymap choosing

2015-03-20 Thread Azael Avalos
. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 70 + 1 file changed, 32 insertions(+), 38 deletions(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index c4edae3..d7dac48

[PATCH 2/4] toshiba_bluetooth: Clean up *_add function and disable BT device at removal

2015-03-18 Thread Azael Avalos
. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index b479a70..b8404c7 100644

[PATCH 3/4] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-03-18 Thread Azael Avalos
This patch cleans the toshiba_bluetooth_enable function, removing some unneeded code and returning appropriate error values. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 12 insertions(+), 20 deletions(-) diff

[PATCH 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-18 Thread Azael Avalos
add code to handle special circumstances depending on the status of the device. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers

[PATCH 1/4] toshiba_bluetooth: Add three new functions to the driver

2015-03-18 Thread Azael Avalos
respectively. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 2cb1ea6..b479a70 100644 --- a/drivers

[PATCH 3/4] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-03-18 Thread Azael Avalos
This patch cleans the toshiba_bluetooth_enable function, removing some unneeded code and returning appropriate error values. Signed-off-by: Azael Avalos --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 12 insertions(+), 20 deletions(-) diff

[PATCH 0/4] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-18 Thread Azael Avalos
These patches introduce three new functions, cleaning up the driver code, checking for errors and returning accordingly, and also fixes bug 93911. Azael Avalos (4): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up *_add function and disable BT device

[PATCH 0/4] toshiba_bluetooth: Clean up driver plus a bugfix

2015-03-18 Thread Azael Avalos
These patches introduce three new functions, cleaning up the driver code, checking for errors and returning accordingly, and also fixes bug 93911. Azael Avalos (4): toshiba_bluetooth: Add three new functions to the driver toshiba_bluetooth: Clean up *_add function and disable BT device

[PATCH 3/4] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-03-18 Thread Azael Avalos
This patch cleans the toshiba_bluetooth_enable function, removing some unneeded code and returning appropriate error values. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 12 insertions(+), 20

[PATCH 4/4] toshiba_bluetooth: Remove BT enable code from *_notify function

2015-03-18 Thread Azael Avalos
add code to handle special circumstances depending on the status of the device. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 20 +++- 1 file changed, 19 insertions(+), 1 deletion(-) diff --git a/drivers/platform/x86

[PATCH 3/4] toshiba_bluetooth: Clean toshiba_bluetooth_enable function

2015-03-18 Thread Azael Avalos
This patch cleans the toshiba_bluetooth_enable function, removing some unneeded code and returning appropriate error values. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 12 insertions(+), 20

[PATCH 2/4] toshiba_bluetooth: Clean up *_add function and disable BT device at removal

2015-03-18 Thread Azael Avalos
. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 32 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index b479a70

[PATCH 1/4] toshiba_bluetooth: Add three new functions to the driver

2015-03-18 Thread Azael Avalos
respectively. Signed-off-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_bluetooth.c | 51 1 file changed, 51 insertions(+) diff --git a/drivers/platform/x86/toshiba_bluetooth.c b/drivers/platform/x86/toshiba_bluetooth.c index 2cb1ea6..b479a70

[PATCH] MAINTAINERS: Add missing Toshiba devices and add myself as maintainer

2015-03-06 Thread Azael Avalos
Add the missing toshiba_bluetooth and toshiba_haps entries and add myself as their maintainer. Also add the Maintainers entry for toshiba_acpi driver and change its status to maintained. Signed-off-by: Azael Avalos --- MAINTAINERS | 15 ++- 1 file changed, 14 insertions(+), 1

[PATCH] toshiba_acpi: Update events in toshiba_acpi_notify

2015-03-06 Thread Azael Avalos
-by: Azael Avalos --- drivers/platform/x86/toshiba_acpi.c | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 09c6a2f..3a895a8 100644 --- a/drivers/platform/x86/toshiba_acpi.c

Re: [PATCH 0/3] toshiba_acpi: Hotkey handling and keymap updates

2015-03-06 Thread Azael Avalos
Hi Darren, 2015-03-06 11:34 GMT-07:00 Darren Hart : > On Thu, Feb 26, 2015 at 10:57:11AM -0700, Azael Avalos wrote: >> These patches add support to a new function that queries the supported Hotkey >> Event Type, making the use of the DMI matching unnecessary and also fixes

Re: [PATCH 3/3] toshiba_acpi: Fix the enabling of the Special Functions

2015-03-06 Thread Azael Avalos
Hi Darren, 2015-03-06 11:28 GMT-07:00 Darren Hart : > On Thu, Feb 26, 2015 at 10:57:14AM -0700, Azael Avalos wrote: >> Some Toshiba laptops with the "Special Functions" feature enabled >> fail to properly enable such feature unless a specific value is >> u

Re: [PATCH 1/3] toshiba_acpi: Add Hotkey Event Type function and definitions

2015-03-06 Thread Azael Avalos
Hi Darren, 2015-03-06 11:21 GMT-07:00 Darren Hart : > On Thu, Feb 26, 2015 at 10:57:12AM -0700, Azael Avalos wrote: > > Hi Azael, > > I'm pretty behind on this one, apologies. > No wories, we still have plenty of time for 4.1 ;-) I simply wanted to send these early to

[PATCH] toshiba_acpi: Update events in toshiba_acpi_notify

2015-03-06 Thread Azael Avalos
-by: Azael Avalos coproscef...@gmail.com --- drivers/platform/x86/toshiba_acpi.c | 29 +++-- 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/drivers/platform/x86/toshiba_acpi.c b/drivers/platform/x86/toshiba_acpi.c index 09c6a2f..3a895a8 100644 --- a/drivers

[PATCH] MAINTAINERS: Add missing Toshiba devices and add myself as maintainer

2015-03-06 Thread Azael Avalos
Add the missing toshiba_bluetooth and toshiba_haps entries and add myself as their maintainer. Also add the Maintainers entry for toshiba_acpi driver and change its status to maintained. Signed-off-by: Azael Avalos coproscef...@gmail.com --- MAINTAINERS | 15 ++- 1 file changed, 14

Re: [PATCH 3/3] toshiba_acpi: Fix the enabling of the Special Functions

2015-03-06 Thread Azael Avalos
Hi Darren, 2015-03-06 11:28 GMT-07:00 Darren Hart dvh...@infradead.org: On Thu, Feb 26, 2015 at 10:57:14AM -0700, Azael Avalos wrote: Some Toshiba laptops with the Special Functions feature enabled fail to properly enable such feature unless a specific value is used to enable the hotkey

Re: [PATCH 0/3] toshiba_acpi: Hotkey handling and keymap updates

2015-03-06 Thread Azael Avalos
Hi Darren, 2015-03-06 11:34 GMT-07:00 Darren Hart dvh...@infradead.org: On Thu, Feb 26, 2015 at 10:57:11AM -0700, Azael Avalos wrote: These patches add support to a new function that queries the supported Hotkey Event Type, making the use of the DMI matching unnecessary and also fixes

Re: [PATCH 1/3] toshiba_acpi: Add Hotkey Event Type function and definitions

2015-03-06 Thread Azael Avalos
Hi Darren, 2015-03-06 11:21 GMT-07:00 Darren Hart dvh...@infradead.org: On Thu, Feb 26, 2015 at 10:57:12AM -0700, Azael Avalos wrote: Hi Azael, I'm pretty behind on this one, apologies. No wories, we still have plenty of time for 4.1 ;-) I simply wanted to send these early to get as much

Re: [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings.

2015-03-05 Thread Azael Avalos
Hi Joe, 2015-03-05 13:59 GMT-07:00 Joseph Salisbury : > On 03/04/2015 07:05 PM, Azael Avalos wrote: >> Hi there, >> >> 2015-03-04 14:52 GMT-07:00 Joseph Salisbury : >> ... >>> + { KE_KEY, 0x140, { KEY_BRIGHTNESSDOWN } }, >>>

Re: [PATCH 2/2] toshiba_acpi: Add Satellite P50W-B to alternative keymap and create new mappings.

2015-03-05 Thread Azael Avalos
Hi Joe, 2015-03-05 13:59 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: On 03/04/2015 07:05 PM, Azael Avalos wrote: Hi there, 2015-03-04 14:52 GMT-07:00 Joseph Salisbury joseph.salisb...@canonical.com: ... + { KE_KEY, 0x140, { KEY_BRIGHTNESSDOWN } }, + { KE_KEY

<    1   2   3   4   5   6   7   >