Ignore:
Timestamp:
Oct 22, 2022, 9:53:37 AM (3 years ago)
Author:
Paul Smedley
Message:

Code cleanups + disable unsupported HDMI code for now

File:
1 edited

Legend:

Unmodified
Added
Removed
  • GPL/branches/uniaud32-exp/lib32/component.c

    r737 r753  
    185185                struct component *c;
    186186
    187                 dev_dbg(adev->parent, "Looking for component %zu\n", i);
     187                dev_dbg(adev->parent, "Looking for component %lu\n", i);
    188188
    189189                if (match->compare[i].component)
     
    243243        }
    244244
    245 #ifndef TARGET_OS2
    246245        if (!devres_open_group(adev->parent, adev, GFP_KERNEL))
    247246                return -ENOMEM;
    248 #endif
     247
    249248        /* Found all components */
    250249        ret = adev->ops->bind(adev->parent);
    251250        if (ret < 0) {
    252 #ifndef TARGET_OS2
    253251                devres_release_group(adev->parent, NULL);
    254252                if (ret != -EPROBE_DEFER)
    255253                        dev_info(adev->parent, "adev bind failed: %d\n", ret);
    256 #endif
    257254                return ret;
    258255        }
     
    626623         * affecting anything else.
    627624         */
    628 #ifndef TARGET_OS2
     625
    629626        if (!devres_open_group(adev->parent, NULL, GFP_KERNEL))
    630627                return -ENOMEM;
    631 #endif
     628
    632629        /*
    633630         * Also open a group for the device itself: this allows us
Note: See TracChangeset for help on using the changeset viewer.