Re: [PATCH v2] Bluetooth: btusb: Add routine for applying Intel DDC parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi


On 5/18/15, 3:52 PM, "An, Tedd" <tedd.an@xxxxxxxxx> wrote:

>From: Tedd Ho-Jeong An <tedd.an@xxxxxxxxx>
>
>This patch adds the routine to apply the DDC parameter from device
>specific ddc file.
>
>
> static int btusb_setup_intel_new(struct hci_dev *hdev)
> {
> 	static const u8 reset_param[] = { 0x00, 0x01, 0x00, 0x01,
>@@ -2660,6 +2720,16 @@ done:
> 
> 	clear_bit(BTUSB_BOOTLOADER, &data->flags);
> 
>+	/* Once the device is running in operational mode, it needs to apply
>+	 * the device configuration(DDC) parameters to the device.
>+	 */
>+	err = btusb_apply_ddc_intel(hdev, ver->hw_variant);
>+	if (err < 0) {
>+		BT_ERR("%s: Failed to apply DDC parameters (%d)",
>+		       hdev->name, err);
>+		return err;
>+	}
>+
> 	return 0;
> }
> 
>-- 
>2.1.0
>

I found the bug in this patch and I will send out new one later.

Regards,
Tedd
��.n��������+%������w��{.n�����{����^n�r������&��z�ޗ�zf���h���~����������_��+v���)ߣ�


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux