Return-Path: From: "G, Jaya P" To: Marcel Holtmann CC: "linux-bluetooth@vger.kernel.org" , "An, Tedd" Subject: RE: Please review and upstream to bluetooth-next Date: Fri, 15 Jul 2016 07:30:17 +0000 Message-ID: References: <0331C8DC-83C0-4737-A063-5BE7B01845CB@holtmann.org> In-Reply-To: <0331C8DC-83C0-4737-A063-5BE7B01845CB@holtmann.org> Content-Type: multipart/mixed; boundary="_002_DAC39EC0A5DE12469D14E5A0B14E6CF5054737BCBGSMSX108garcor_" MIME-Version: 1.0 List-ID: --_002_DAC39EC0A5DE12469D14E5A0B14E6CF5054737BCBGSMSX108garcor_ Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 SGkgTWFyY2VsLA0KDQpJIGFtIHNlbmRpbmcgdGhlIGZpcnN0IHBhdGNoIHRvIEJsdWV0b290aC1u ZXh0Lg0KUmVnYXJkaW5nIHRoZSBjb2RpbmcgZ3VpZGVsaW5lcywgQXR0YWNoZWQgYSBuZXcgcGF0 Y2hzZXQgd2l0aCB0aGUgY29kaW5nIGd1aWRlbGluZXMsIGV4Y2VwdCBmb3IgcmVtb3ZpbmcgdGhl IGtvYmplY3QgY2hhbmdlcy4NCg0KQW5kIHJlZ2FyZGluZyB0aGlzIHJlcXVpcmVtZW50LCB0aGlz IGNhbWUgZm9yIGdvb2dsZSBjaHJvbWUgIHRvIGNoZWNrIHRoZSANCkRpZmZlcmVudCBTS1UncyB2 ZXJzaW9uIG9uIHRoZSBnbyByYXRoZXIgdGhhbiBpc3N1aW5nIHJlYWQgdmVyc2lvbiBjb21tYW5k IGZvciB0aGUgY29udHJvbGxlci4NCkFuZCBzbywgdGhlIGRlc2lnbiBwcm9wb3NlZCB0aGF0IHdl IGV4cG9zZSBhIGtvYmplY3QgZmlsZSBmb3IgdGhpcyBmcm9tIGJ0dXNiCS4gDQpBbmQgZm9yIHlv dXIgdW5kZXJzdGFuZGluZywgdGhlIEludGVsIEZXIGZpbGUgcHVzaGVkIGZvciB0aGUgY29udHJv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X2tvYmpl Y3QiLCBrZXJuZWxfa29iaik7DQoNClRoaXMgaXMgYnJva2VuIGJ5IGRlc2lnbi4gTGludXggc3Vw cG9ydHMgbXVsdGlwbGUgY29udHJvbGxlcnMuIFNvIHdoYXQgaGFwcGVucyBpZiB5b3UgYXR0YWNo IGEgc2Vjb25kIEludGVsIGNvbnRyb2xsZXIgdG8gdGhlIHNhbWUgc3lzdGVtLg0KDQo+ICsgICAg ICAgIGlmKCFpbnRlbF9od192ZXJzaW9uX2tvYmplY3QpDQo+ICsgICAgICAgICAgICAgICAgICBy ZXR1cm4gLUVOT01FTTsNCj4gKw0KPiArICAgICAgICAvKiBDcmVhdGUgYSBmaWxlIGFzc29jaWF0 ZWQgd2l0aCB0aGUga29iamVjdCAqLw0KPiArICAgICAgICBlcnJvciA9IHN5c2ZzX2NyZWF0ZV9m aWxlKGludGVsX2h3X3ZlcnNpb25fa29iamVjdCwgJmludGVsX2h3X3ZlcnNpb25fYXR0ci5hdHRy KTsNCj4gKyAgICAgICAgaWYoZXJyb3IpIHsNCj4gKyAgICAgICAgICAgICAgQlRfREJHKCJmYWls ZWQgdG8gY3JlYXRlIHRoZSB2ZXJzaW9uIGZpbGUgaW4gL3N5cy9rZXJuZWwvaW50ZWxfaHdfdmVy c2lvbl9rb2JqZWN0IFxuIik7DQo+ICsgICAgICAgIH0NCj4gKw0KDQpUaGUgd2hvbGUgc2VjdGlv biBpcyB3cm9uZ2x5IGludGVuZGVkIGFuZCBpcyBub3QgZm9sbG93aW5nIHRoZSBuZXR3b3JrIHN1 YnN5c3RlbSBjb2Rpbmcgc3R5bGUuDQoNClJlZ2FyZHMNCg0KTWFyY2VsDQoNCg== --_002_DAC39EC0A5DE12469D14E5A0B14E6CF5054737BCBGSMSX108garcor_ Content-Type: application/octet-stream; name="0001-btusb-Export-the-Intel-HW-FW-Patch-variants-to-sysfs.patch" Content-Description: 0001-btusb-Export-the-Intel-HW-FW-Patch-variants-to-sysfs.patch Content-Disposition: attachment; filename="0001-btusb-Export-the-Intel-HW-FW-Patch-variants-to-sysfs.patch"; size=4993; creation-date="Fri, 15 Jul 2016 06:27:39 GMT"; modification-date="Fri, 15 Jul 2016 07:27:59 GMT" Content-Transfer-Encoding: base64 RnJvbSAwMWU5MDQxNDhmNGRlNmQ4ZDQ4ZDYxYjAxYjA4ZGE3YTc3MWZlOTk4IE1vbiBTZXAgMTcg MDA6MDA6MDAgMjAwMQpGcm9tOiBKYXlhIFByYXZlZW4gRyA8amF5YS5wLmdAaW50ZWwuY29tPgpE YXRlOiBGcmksIDE1IEp1bCAyMDE2IDE3OjI1OjMxICswNTMwClN1YmplY3Q6IFtQQVRDSF0gYnR1 c2I6IEV4cG9ydCB0aGUgSW50ZWwgSFcvRlcvUGF0Y2ggdmFyaWFudHMgdG8gL3N5c2ZzCgpJbnRl bCB3aWxsIGhhdmUgZGlmZmVyZW50IFNLVSBhbmQgdmVyc2lvbiB3aXRoIHRoZSBzYW1lClZJRC9Q SUQuIERpZmZlcmVudCBTS1UgdXNlIGRpZmZlcmVudCBCVCB2ZXJzaW9uIHRoaXMgbWVhbnMKZGlm ZmVyZW50IEhXIGFuZCBGVy4gVG8gY2hlY2sgdGhpcywgd2UgaGF2ZSByZWFkIHZlcnNpb24KZm9y IHRoZSBpbnRlbCBTS1Ugd2hpY2ggaXMgdW5pcXVlLCB0aGUgc2FtZSBkYXRhIGlzIHB1dCBpbgph IGZpbGUgY3JlYXRlIHdpdGgga29iamVjdCBpbiAvc3lzL2tlcm5lbC9pbnRlbF9od192ZXJzaW9u X2tvYmplY3QvCndpdGggdGhlIG5hbWUgL2ludGVsX2h3X3ZlcnNpb24gd2hlcmUgaXQgc2hvd3Mg dGhlIEhXIHZhcmlhbnQsCkZXIHZhcmlhbnQgYW5kIFBhdGNoIG51bWJlciB3aGljaCB3aWxsIGRp ZmZlcmVudCBmb3IgZWFjaCBTS1UuCgpTaWduZWQtb2ZmLWJ5OiBKYXlhIFByYXZlZW4gRyA8amF5 YS5wLmdAa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g ZmlybXdhcmUgKmZ3OwogCWNvbnN0IHU4ICpmd19wdHI7CkBAIC0xOTgzLDYgKzIwMjMsNyBAQCBz dGF0aWMgaW50IGJ0dXNiX3NldHVwX2ludGVsX25ldyhzdHJ1Y3QgaGNpX2RldiAqaGRldikKIAlr dGltZV90IGNhbGx0aW1lLCBkZWx0YSwgcmV0dGltZTsKIAl1bnNpZ25lZCBsb25nIGxvbmcgZHVy YXRpb247CiAJaW50IGVycjsKKyAgICAgICAgaW50IGVycm9yID0gMDsKIAogCUJUX0RCRygiJXMi LCBoZGV2LT5uYW1lKTsKIApAQCAtMTk5Niw2ICsyMDM3LDE4IEBAIHN0YXRpYyBpbnQgYnR1c2Jf c2V0dXBfaW50ZWxfbmV3KHN0cnVjdCBoY2lfZGV2ICpoZGV2KQogCWlmIChlcnIpCiAJCXJldHVy biBlcnI7CiAKKyAgICAgICAgLyogQ3JlYXRlIGEga29iamVjdCB3aXRoIHRoZSBuYW1lICJpbnRl bF9od192ZXJzaW9uX2tvYmplY3QiLCBsb2NhdGVkCisgICAgICAgICAqIHVuZGVyIC9zeXMva2Vy bmVsLy4KKyAgICAgICAgICovCisgICAgICAgIGludGVsX2h3X3ZlcnNpb25fa29iamVjdCA9IGtv YmplY3RfY3JlYXRlX2FuZF9hZGQoImludGVsX2h3X3ZlcnNpb25fa29iamVjdCIsIGtlcm5lbF9r b2JqKTsKKyAgICAgICAgaWYoIWludGVsX2h3X3ZlcnNpb25fa29iamVjdCkKKyAgICAgICAgICAg ICAgICAgIHJldHVybiAtRU5PTUVNOworCisgICAgICAgIC8qIENyZWF0ZSBhIGZpbGUgYXNzb2Np YXRlZCB3aXRoIHRoZSBrb2JqZWN0ICovCisgICAgICAgIGVycm9yID0gc3lzZnNfY3JlYXRlX2Zp bGUoaW50ZWxfaHdfdmVyc2lvbl9rb2JqZWN0LCAmaW50ZWxfaHdfdmVyc2lvbl9hdHRyLmF0dHIp OworICAgICAgICBpZihlcnJvcikgeworICAgICAgICAgICAgICBCVF9EQkcoImZhaWxlZCB0byBj cmVhdGUgdGhlIHZlcnNpb24gZmlsZSBpbiAvc3lzL2tlcm5lbC9pbnRlbF9od192ZXJzaW9uX2tv YmplY3QgXG4iKTsKKyAgICAgICAgfQogCS8qIFRoZSBoYXJkd2FyZSBwbGF0Zm9ybSBudW1iZXIg aGFzIGEgZml4ZWQgdmFsdWUgb2YgMHgzNyBhbmQKIAkgKiBmb3Igbm93IG9ubHkgYWNjZXB0IHRo aXMgc2luZ2xlIHZhbHVlLgogCSAqLwotLSAKMS45LjEKCg== --_002_DAC39EC0A5DE12469D14E5A0B14E6CF5054737BCBGSMSX108garcor_--