Permalink
Browse files

Merge branch 'develop'

  • Loading branch information...
2 parents c1dd714 + b0712e5 commit d5ff9a1fb9dc1abfc7c6ca68c82ab3865f1dad28 @Lekensteyn Lekensteyn committed Jan 16, 2012
Showing with 7 additions and 2 deletions.
  1. +5 −0 NEWS
  2. +2 −2 bbswitch.c
View
5 NEWS
@@ -1,3 +1,8 @@
+Version 0.4.1 - 16 January 2012
+
+* Corrected a small error that yielded an confusing error message "The discrete
+ card could not be enabled by a _DSM call"
+
Version 0.4 - 15 January 2012
* Support for models that have a "3D controller" instead of "VGA compatible
View
@@ -19,7 +19,7 @@
MODULE_LICENSE("GPL");
MODULE_DESCRIPTION("Toggle the discrete graphics card");
MODULE_AUTHOR("Peter Lekensteyn <lekensteyn@gmail.com>");
-MODULE_VERSION("0.4");
+MODULE_VERSION("0.4.1");
enum {
CARD_UNCHANGED = -1,
@@ -190,7 +190,7 @@ static int bbswitch_acpi_on(void) {
char args[] = {1, 0, 0, 0};
u32 result = 0;
- if (!acpi_call_dsm(dis_handle, acpi_nvidia_dsm_muid, 0x102, 0x3, args,
+ if (acpi_call_dsm(dis_handle, acpi_nvidia_dsm_muid, 0x102, 0x3, args,
&result)) {
// failure
return 1;

0 comments on commit d5ff9a1

Please sign in to comment.