Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Misc updates #70

Open
wants to merge 19 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
19 commits
Select commit Hold shift + click to select a range
29239b2
applespi: Don't set up any runtime-pm callbacks.
roadrunner2 Mar 4, 2018
d6e846a
applespi: Minor coding style fixes.
roadrunner2 May 20, 2018
b26063b
applespi: Remove unnecessary struct alignment attributes.
roadrunner2 Jul 23, 2018
4b0dd0c
applespi: Update comment to reflect all MB(P) models this driver is for.
roadrunner2 Aug 1, 2018
445433e
applespi: Minor renaming of init command to mt-init.
roadrunner2 Apr 21, 2018
d590d3a
applespi: Reset state properly on error in continuation packet.
roadrunner2 Oct 28, 2018
6ef2af5
applespi: Preserve keyboard backlight level across reboots.
roadrunner2 Nov 8, 2017
8aebf48
applespi: Add option to swap fn key with a modifier key.
roadrunner2 May 20, 2018
ca624b7
applespi: Get touchpad model id from touchpad itself.
roadrunner2 Apr 21, 2018
8b5ec9e
applespi: Avoid unnecessary delay in common cases.
roadrunner2 Sep 2, 2018
f09ae09
applespi: Make sure SPI is enabled before GPE is.
roadrunner2 Oct 7, 2018
5fe2065
applespi: Ignore GPE's from wakeup.
roadrunner2 Oct 8, 2018
8e9e3cc
applespi: Explicitly turn off caps-lock led on suspend.
roadrunner2 Oct 8, 2018
ee4f27c
applespi: Enable the keyboard and touchpad for system wake by default.
roadrunner2 Nov 10, 2018
f2558da
applespi: Don't set input capabilities already set by mt core.
roadrunner2 Nov 30, 2018
d49f7ad
applespi: Add missing malloc failure check in probe.
roadrunner2 Dec 2, 2018
ec293d5
applespi: Fix hang trying to remove module after read failure.
roadrunner2 Dec 31, 2018
20947da
applespi: Trivial return status check fix.
roadrunner2 Jan 11, 2019
7886031
applespi: Remove unnecessary include.
roadrunner2 Jan 14, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
applespi: Remove unnecessary struct alignment attributes.
These are gcc specific, but gcc by default already generates the
alignment and packing we want.
  • Loading branch information
roadrunner2 committed Oct 29, 2018
commit b26063bf71aa609898c6f954026b4143c4b02b8b
4 changes: 2 additions & 2 deletions applespi.c
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,7 @@ struct message {
struct command_protocol_bl bl_command;
__u8 data[0];
};
} __packed __aligned(2);
};

/* type + zero + counter + rsp_buf_len + length */
#define MSG_HEADER_SIZE 8
Expand Down Expand Up @@ -332,7 +332,7 @@ struct spi_packet {
__le16 length;
__u8 data[246];
__le16 crc_16;
} __packed __aligned(2);
};

struct spi_settings {
#ifdef PRE_SPI_PROPERTIES
Expand Down