Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c9473e41 authored by Tony Layher's avatar Tony Layher Committed by Bruno Martins
Browse files

msm8974 hal: Remove platform and baseband check for CSD init.

  This is already ifdef'd and the apq8084 uses an external
  modem, so no need for the check.
  Also some variants use mdm2 which prohibits csd init.

Change-Id: Ic7fa66b5f82367a08b29c0249eac7c2595f22d1a
parent e16ef47b
Loading
Loading
Loading
Loading
+3 −8
Original line number Diff line number Diff line
@@ -973,16 +973,11 @@ void *platform_init(struct audio_device *adev)
    /* Initialize ACDB ID's */
    platform_info_init();
#ifdef PLATFORM_APQ8084
    /* If platform is apq8084 and baseband is MDM, load CSD Client specific
     * symbols. Voice call is handled by MDM and apps processor talks to
    /* If platform is apq8084, load CSD Client specific symbols.
     * Voice call is handled by MDM and apps processor talks to
     * MDM through CSD Client
     */
    property_get("ro.board.platform", platform, "");
    property_get("ro.baseband", baseband, "");
    if (!strncmp("apq8084", platform, sizeof("apq8084")) &&
        !strncmp("mdm", baseband, sizeof("mdm"))) {
    platform_csd_init(my_data);
    }
#endif
    /* init usb */
    audio_extn_usb_init(adev);