Changeset 32072


Ignore:
Timestamp:
May 16, 2017, 10:01:11 AM (2 months ago)
Author:
brainslayer
Message:

update kernel

Location:
src/linux/universal/linux-3.18
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • src/linux/universal/linux-3.18/Makefile

    r32025 r32072  
    22PATCHLEVEL = 18
    33SUBLEVEL = 53
    4 EXTRAVERSION = -rc1
     4EXTRAVERSION =
    55NAME = Diseased Newt
    66
  • src/linux/universal/linux-3.18/arch/arm/mach-omap2/omap-headsmp.S

    r32025 r32072  
    1818#include <linux/linkage.h>
    1919#include <linux/init.h>
    20 #include <asm/assembler.h>
    2120
    2221#include "omap44xx.h"
     
    5857        bne     wait_2
    5958        ldr     r12, =API_HYP_ENTRY
    60         badr    r0, hyp_boot
     59        adr     r0, hyp_boot
    6160        smc     #0
    6261hyp_boot:
  • src/linux/universal/linux-3.18/drivers/scsi/device_handler/scsi_dh_emc.c

    r32025 r32072  
    465465                                struct clariion_dh_data *csdev)
    466466{
    467         int err = SCSI_DH_OK;
     467        int err;
    468468        char *sp_model;
    469469
  • src/linux/universal/linux-3.18/drivers/usb/serial/sierra.c

    r32025 r32072  
    138138}
    139139
    140 static u8 sierra_interface_num(struct usb_serial *serial)
    141 {
    142         return serial->interface->cur_altsetting->desc.bInterfaceNumber;
     140static int sierra_calc_interface(struct usb_serial *serial)
     141{
     142        int interface;
     143        struct usb_interface *p_interface;
     144        struct usb_host_interface *p_host_interface;
     145
     146        /* Get the interface structure pointer from the serial struct */
     147        p_interface = serial->interface;
     148
     149        /* Get a pointer to the host interface structure */
     150        p_host_interface = p_interface->cur_altsetting;
     151
     152        /* read the interface descriptor for this active altsetting
     153         * to find out the interface number we are on
     154        */
     155        interface = p_host_interface->desc.bInterfaceNumber;
     156
     157        return interface;
    143158}
    144159
     
    151166
    152167        udev = serial->dev;
    153         ifnum = sierra_interface_num(serial);
     168        ifnum = sierra_calc_interface(serial);
    154169
    155170        /*
     
    163178                usb_set_interface(udev, ifnum, 1);
    164179        }
     180
     181        /* ifnum could have changed - by calling usb_set_interface */
     182        ifnum = sierra_calc_interface(serial);
    165183
    166184        if (is_blacklisted(ifnum,
     
    325343        /* If composite device then properly report interface */
    326344        if (serial->num_ports == 1) {
    327                 interface = sierra_interface_num(serial);
     345                interface = sierra_calc_interface(serial);
    328346                /* Control message is sent only to interfaces with
    329347                 * interrupt_in endpoints
     
    899917        if (serial->num_ports == 1) {
    900918                /* Get interface number for composite device */
    901                 ifnum = sierra_interface_num(serial);
     919                ifnum = sierra_calc_interface(serial);
    902920                himemoryp = &typeB_interface_list;
    903921        } else {
Note: See TracChangeset for help on using the changeset viewer.