|
@@ -218,17 +218,19 @@ static int elan_query_product(struct elan_tp_data *data)
|
|
|
|
|
|
static int elan_check_ASUS_special_fw(struct elan_tp_data *data)
|
|
|
{
|
|
|
- if (data->ic_type != 0x0E)
|
|
|
- return false;
|
|
|
-
|
|
|
- switch (data->product_id) {
|
|
|
- case 0x05 ... 0x07:
|
|
|
- case 0x09:
|
|
|
- case 0x13:
|
|
|
+ if (data->ic_type == 0x0E) {
|
|
|
+ switch (data->product_id) {
|
|
|
+ case 0x05 ... 0x07:
|
|
|
+ case 0x09:
|
|
|
+ case 0x13:
|
|
|
+ return true;
|
|
|
+ }
|
|
|
+ } else if (data->ic_type == 0x08 && data->product_id == 0x26) {
|
|
|
+ /* ASUS EeeBook X205TA */
|
|
|
return true;
|
|
|
- default:
|
|
|
- return false;
|
|
|
}
|
|
|
+
|
|
|
+ return false;
|
|
|
}
|
|
|
|
|
|
static int __elan_initialize(struct elan_tp_data *data)
|