Last week I compiled OpenELEC from source (downloaded from GitHub) because they fixed an issue with Airplay in combination with iOS 9. All seemed to work fine, until I wanted to install my Hifiberry Digi+.
Card works like charm with OpenELEC 5 and 6. In OpenELEC 6 in Kodi as: ALSA: Default (snd_rpi_hifiberry_digi_S/PDIF). While in OpenELEC 7 it's stated as: ALSA: Default (snd_rip_hifiberry_digi Analog).
The output from 'aplay -l' is in both cases the same.