Note that there is single and geminate /m/ vs. /mː/, as explained in Schwegler (1998: 265f). Thus:
Sp. cama > Pal. kama = /kama/ Sp. carma > Pal. kamma = /kamːa/.