Changeset 7c3fb9b in mainline for uspace/drv/hid


Ignore:
Timestamp:
2018-05-17T08:29:01Z (7 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff23ff
Parents:
fac0ac7
git-author:
Jiri Svoboda <jiri@…> (2018-05-16 17:28:17)
git-committer:
Jiri Svoboda <jiri@…> (2018-05-17 08:29:01)
Message:

Fix block comment formatting (ccheck).

Location:
uspace/drv/hid/usbhid
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • uspace/drv/hid/usbhid/kbd/kbddev.c

    rfac0ac7 r7c3fb9b  
    174174                async_answer_0(icall_handle, EOK);
    175175                break;
    176         /* This might be ugly but async_callback_receive_start makes no
    177          * difference for incorrect call and malloc failure. */
     176                /*
     177                 * This might be ugly but async_callback_receive_start makes no
     178                 * difference for incorrect call and malloc failure.
     179                 */
    178180        case IPC_M_CONNECT_TO_ME:
    179181                sess = async_callback_receive_start(EXCHANGE_SERIALIZE, icall);
     
    579581        }
    580582
    581         /* Set LEDs according to initial setup.
    582          * Set Idle rate */
     583        /*
     584         * Set LEDs according to initial setup.
     585         * Set Idle rate
     586         */
    583587        usb_kbd_set_led(hid_dev, kbd_dev);
    584588
     
    649653        }
    650654
    651         /* Store the initialized HID device and HID ops
    652          * to the DDF function. */
     655        /*
     656         * Store the initialized HID device and HID ops
     657         * to the DDF function.
     658         */
    653659        ddf_fun_set_ops(fun, &kbdops);
    654660
  • uspace/drv/hid/usbhid/main.c

    rfac0ac7 r7c3fb9b  
    8787        usb_log_debug("USB/HID device structure initialized.");
    8888
    89         /* Start automated polling function.
     89        /*
     90         * Start automated polling function.
    9091         * This will create a separate fibril that will query the device
    91          * for the data continuously. */
     92         * for the data continuously.
     93         */
    9294        rc = usb_polling_start(&hid_dev->polling);
    9395
  • uspace/drv/hid/usbhid/multimedia/multimedia.c

    rfac0ac7 r7c3fb9b  
    230230        } else {
    231231                usb_log_debug2("%s unbound.", ddf_fun_get_name(fun));
    232                 /* This frees multim_dev too as it was stored in
    233                  * fun->data */
     232                /*
     233                 * This frees multim_dev too as it was stored in
     234                 * fun->data
     235                 */
    234236                ddf_fun_destroy(fun);
    235237        }
  • uspace/drv/hid/usbhid/usbhid.c

    rfac0ac7 r7c3fb9b  
    511511
    512512        if (ok) {
    513                 /* Save max input report size and
    514                  * allocate space for the report */
     513                /*
     514                 * Save max input report size and
     515                 * allocate space for the report
     516                 */
    515517                rc = usb_hid_init_report(hid_dev);
    516518                if (rc != EOK) {
Note: See TracChangeset for help on using the changeset viewer.